summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorJasmin Jessich <jasmin@anw.at>2015-09-06 11:54:46 (GMT)
committerJasmin Jessich <jasmin@anw.at>2015-09-14 21:32:07 (GMT)
commit9e905afb56a162882df2472d9537f72c82c83487 (patch)
tree16857c710da0419f191e3c87aa31cea42d57825c /config
parentb6342809d005ea2b0d24406eff52b6bac4ec0eee (diff)
Added additional newlib specific target flags with new option
LIBC_NEWLIB_TARGET_CFLAGS. Signed-off-by: Jasmin Jessich <jasmin@anw.at>
Diffstat (limited to 'config')
-rw-r--r--config/libc/newlib.in14
1 files changed, 14 insertions, 0 deletions
diff --git a/config/libc/newlib.in b/config/libc/newlib.in
index f32e4b3..8351fab 100644
--- a/config/libc/newlib.in
+++ b/config/libc/newlib.in
@@ -144,6 +144,20 @@ config LIBC_VERSION
Enter the tag you want to use.
Leave empty to use the 'head' of the repository.
+config LIBC_NEWLIB_TARGET_CFLAGS
+ string
+ prompt "Target CFLAGS for newlib"
+ default ""
+ help
+ Used to add specific options when compiling the target libraries
+ (eg. -ffunction-sections -fdata-sections), which can't be defined
+ in global TARGET_CFLAGS, because they shall be not used for the
+ gcc target libraries.
+ Note: Both TARGET_CFLAGS and LIBC_NEWLIB_TARGET_CFLAGS are used
+ to compile the libraries.
+
+ Leave blank if you don't know better.
+
comment "Architecture specific options"
config ATMEL_AVR32_HEADERS