diff options
author | Kumar Gala <kumar.gala@linaro.org> | 2021-04-15 09:31:08 -0500 |
---|---|---|
committer | Kumar Gala <kumar.gala@linaro.org> | 2021-04-15 14:29:04 -0500 |
commit | 8e9963941902e0e1ab553761dfb460fa32091740 (patch) | |
tree | ee2d269c7eecfa3925f581bcb6c385d42edcfc8b /config | |
parent | 2816a97a25c0e9d4645ec6a795f986a7860949bd (diff) | |
download | crosstool-ng-8e9963941902e0e1ab553761dfb460fa32091740.tar.gz crosstool-ng-8e9963941902e0e1ab553761dfb460fa32091740.tar.bz2 crosstool-ng-8e9963941902e0e1ab553761dfb460fa32091740.zip |
newlib-nano: Add option to copy libs into target
Add an option that will install a copy of newlib-nano lib*.a file in
the target dir but renamed with a nano.a suffix (eg: libc_nano.a) as
some default nano.spec files from newlib expect this setup.
Additionally the newlib-nano version of newlib.h will get copied to
include/newlib-nano/newlib.h.
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
Diffstat (limited to 'config')
-rw-r--r-- | config/comp_libs/newlib-nano.in | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/config/comp_libs/newlib-nano.in b/config/comp_libs/newlib-nano.in index 0138a7fb..0d80c893 100644 --- a/config/comp_libs/newlib-nano.in +++ b/config/comp_libs/newlib-nano.in @@ -18,6 +18,17 @@ config NEWLIB_NANO_GCC_LIBSTDCXX This option compiles an additional target libstdc++ for use with newlib-nano. +config NEWLIB_NANO_INSTALL_IN_TARGET + bool + prompt "Additionally install newlib-nano libs into TARGET dir" + help + This option will install a copy of newlib-nano lib*.a file in the target + dir but renamed with a nano.a suffix (eg: libc_nano.a) as some default + nano.spec files from newlib expect this setup. + + Additionally the newlib-nano version of newlib.h will get copied to + include/newlib-nano/newlib.h. + # maybe older versions of newlib will support it too, but this # needs to be checked config NEWLIB_NANO_CXA_ATEXIT |