comparison gsm-fw/services/ffs/Makefile @ 217:30a173257f4a

gsm-fw/services/ffs: ffs_target.c generation and compilation
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Mon, 06 Jan 2014 08:07:36 +0000
parents 0eb85790c0ed
children 2beb88a3d528
comparison
equal deleted inserted replaced
216:0eb85790c0ed 217:30a173257f4a
1 CC= arm-elf-gcc 1 CC= arm-elf-gcc
2 CFLAGS= -O2 -fno-builtin -mthumb-interwork -mthumb 2 CFLAGS= -O2 -fno-builtin -mthumb-interwork -mthumb
3 LD= arm-elf-ld 3 LD= arm-elf-ld
4 4
5 OBJS= cfgffs.o core.o drv.o ffs_env.o ffstrace.o fsck.o reclaim.o task.o 5 OBJS= cfgffs.o core.o drv.o ffs_env.o ffs_target.o ffstrace.o fsck.o \
6 reclaim.o task.o
6 7
7 HDRS= core.h drv.h ffs.h ffs_api.h ffs_env.h ffs_pool_size.h ffstrace.h \ 8 HDRS= core.h drv.h ffs.h ffs_api.h ffs_env.h ffs_pool_size.h ffstrace.h \
8 intctl.h ramffs.h task.h tmffs.h 9 intctl.h ramffs.h task.h tmffs.h
9 10
10 all: xipcode.o 11 all: xipcode.o
11 12
12 ${OBJS}: ${HDRS} 13 ${OBJS}: ${HDRS}
13 14
15 ffs_target.c: ffs.c mktarget.pl
16 ./mktarget.pl
17
14 xipcode.o: ${OBJS} 18 xipcode.o: ${OBJS}
15 ${LD} -r -o $@ ${OBJS} 19 ${LD} -r -o $@ ${OBJS}
16 20
17 clean: 21 clean:
18 rm -f *.[oa] *errs 22 rm -f *.[oa] *errs ffs_target.c