Changeset 541
- Timestamp:
- 10/14/07 14:53:49 (1 year ago)
- Files:
-
- trunk/hal/lpc2106-cmucam3/defs.mk (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/hal/lpc2106-cmucam3/defs.mk
r540 r541 38 38 39 39 40 # set iprintf as default (can be overriden by IPRINTF=0) 41 IPRINTF := 1 42 ifeq ($(strip $(IPRINTF)),1) 43 IPRINTF_FLAGS := -Dprintf=iprintf \ 44 $(foreach pp,as f s sn vas vf v vsn,-D$(pp)printf=$(pp)iprintf) 40 # set iprintf and iscanf as default (can be overriden by INTEGER_STDIO=0) 41 INTEGER_STDIO := 1 42 ifeq ($(strip $(INTEGER_STDIO)),1) 43 INTEGER_STDIO_FLAGS := \ 44 -Dprintf=iprintf \ 45 $(foreach pp,as f s sn vas vf v vsn,-D$(pp)printf=$(pp)iprintf) \ 46 -Dscanf=iscanf \ 47 $(foreach pp,f s vf v vs,-D$(pp)scanf=$(pp)iscanf) 45 48 endif 46 49 … … 55 58 -ffreestanding -std=gnu99 -g -fdata-sections -ffunction-sections \ 56 59 -mcpu=arm7tdmi-s -fno-exceptions \ 57 -msoft-float -mthumb-interwork $(I PRINTF_FLAGS)60 -msoft-float -mthumb-interwork $(INTEGER_STDIO_FLAGS) 58 61 59 62 override LDFLAGS+=-lm -T$(HALDIR)/lpc2106-rom.ln \
