comparison gsm-fw/finlink/Makefile @ 168:60afcd233b04

gsm-fw: first conditionally-built feature: ETM
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Tue, 19 Nov 2013 06:06:42 +0000
parents afceeeb2cba1
children 2beb88a3d528
comparison
equal deleted inserted replaced
167:df335d255ac4 168:60afcd233b04
7 LIBC_A= `${CC} -print-file-name=libc.a -mthumb-interwork` 7 LIBC_A= `${CC} -print-file-name=libc.a -mthumb-interwork`
8 LIBC_T= `${CC} -print-file-name=libc.a -mthumb-interwork -mthumb` 8 LIBC_T= `${CC} -print-file-name=libc.a -mthumb-interwork -mthumb`
9 LIBGCC_A= `${CC} -print-file-name=libgcc.a -mthumb-interwork` 9 LIBGCC_A= `${CC} -print-file-name=libgcc.a -mthumb-interwork`
10 LIBGCC_T= `${CC} -print-file-name=libgcc.a -mthumb-interwork -mthumb` 10 LIBGCC_T= `${CC} -print-file-name=libgcc.a -mthumb-interwork -mthumb`
11 11
12 sinclude ../include/config.mk
13
12 LOCAL_LIBS= ../riviera/librv.a ../nucleus/libplus.xip.a \ 14 LOCAL_LIBS= ../riviera/librv.a ../nucleus/libplus.xip.a \
13 ../nucleus/libplus.iram.a ../sprintf/libsprintf.a 15 ../nucleus/libplus.iram.a ../sprintf/libsprintf.a
14 16
15 INT_PIECES= ../bsp/niq32.o 17 INT_PIECES= ../bsp/niq32.o
16 EXT_PIECES= ../bsp/xipcode.o ../serial/xipcode.o ../sysglue/xipcode.o 18 EXT_PIECES= ../bsp/xipcode.o ../serial/xipcode.o ../sysglue/xipcode.o
19 ifeq (${RVM_ETM_SWE},1)
20 EXT_PIECES+= ../services/etm/xipcode.o
21 endif
17 22
18 all: ${RAM_TARGET} 23 all: ${RAM_TARGET}
19 ramImage: ${RAM_TARGET} 24 ramImage: ${RAM_TARGET}
20 25
21 iramcode.o: ${INT_PIECES} 26 iramcode.o: ${INT_PIECES}