Last change
on this file since 68422d4 was
2a5ffee,
checked in by Joel Sherrill <joel.sherrill@…>, on 03/18/11 at 13:27:35
|
2011-03-18 Joel Sherrill <joel.sherrill@…>
- .cvsignore, Makefile, rootfs/set_adc_modes, rootfs/test_adc: Add root
filesystem with test scripts.
|
-
Property mode set to
100644
|
File size:
1.0 KB
|
Line | |
---|
1 | # |
---|
2 | # $Id$ |
---|
3 | # |
---|
4 | |
---|
5 | # |
---|
6 | # RTEMS_MAKEFILE_PATH is typically set in an environment variable |
---|
7 | # |
---|
8 | |
---|
9 | |
---|
10 | PGM=${ARCH}/pcmmio_shell.exe |
---|
11 | |
---|
12 | # optional managers required |
---|
13 | MANAGERS=all |
---|
14 | |
---|
15 | #DEFINES += -DTESTING |
---|
16 | CSRCS = pcmmio_shell.c mio_io.c mio_io_rtems.c multiio_pcmmio.c \ |
---|
17 | FilesystemImage.c |
---|
18 | COBJS = $(CSRCS:%.c=${ARCH}/%.o) |
---|
19 | |
---|
20 | DEFINES += -I../include -I../commands |
---|
21 | LD_LIBS += ../commands/${ARCH}/libmiocmds.a |
---|
22 | |
---|
23 | CLEAN_ADDITIONS += FilesystemImage FilesystemImage.c FilesystemImage.h |
---|
24 | |
---|
25 | include $(RTEMS_MAKEFILE_PATH)/Makefile.inc |
---|
26 | include $(RTEMS_CUSTOM) |
---|
27 | include $(PROJECT_ROOT)/make/leaf.cfg |
---|
28 | |
---|
29 | OBJS= $(COBJS) $(CXXOBJS) $(ASOBJS) |
---|
30 | |
---|
31 | all: ${ARCH} FilesystemImage.c FilesystemImage.h $(OBJS) $(PGM) |
---|
32 | |
---|
33 | ${PGM}: $(OBJS) |
---|
34 | $(make-exe) |
---|
35 | |
---|
36 | FilesystemImage: rootfs/test_adc rootfs/set_adc_modes |
---|
37 | (cd rootfs ; tar cf - --exclude=.svn \ |
---|
38 | --exclude=CVS --exclude=.cvsignore .) >$(@) |
---|
39 | |
---|
40 | FilesystemImage.c FilesystemImage.h: FilesystemImage |
---|
41 | $(PROJECT_ROOT)/bin/rtems-bin2c FilesystemImage FilesystemImage |
---|
42 | |
---|
43 | FilesystemImage.o: FilesystemImage.c |
---|
44 | $(CC) $(CFLAGS) $(CPU_CFLAGS) -c $< |
---|
45 | |
---|
Note: See
TracBrowser
for help on using the repository browser.