diff -r 504b0759c149 -r 91a52bc04af9 config/libc/newlib.in.2 --- a/config/libc/newlib.in.2 Fri Nov 18 11:47:30 2011 +0800 +++ b/config/libc/newlib.in.2 Sun Nov 11 21:42:47 2012 +0100 @@ -35,6 +35,15 @@ _write... If you plan to port newlib to a new platform/board, say Yes. +config LIBC_NEWLIB_ENABLE_TARGET_OPTSPACE + bool + prompt "Optimize newlib for size" + default y + help + Pass --enable-target-optspace to newlib configure. + + This will compile newlib with -Os. + config LIBC_NEWLIB_EXTRA_CONFIG_ARRAY string prompt "Extra config for newlib"