Re-defining NEWLIB_PRINTF_CFLAGS will allow applications to select
printf with floating point support if desired.
Signed-off-by: Keith Packard <keithp@keithp.com>
OPT=-Os
+NEWLIB_PRINTF_CFLAGS = -DNEWLIB_INTEGER_PRINTF_SCANF
+
NEWLIB_CFLAGS= \
-ffreestanding -nostdlib \
- -DNEWLIB_INTEGER_PRINTF_SCANF \
- -isystem $(NEWLIB_NANO)/arm-none-eabi/include
+ -isystem $(NEWLIB_NANO)/arm-none-eabi/include \
+ $(NEWLIB_PRINTF_CFLAGS)
AO_CFLAGS=\
-std=gnu99 \