Changeset 2a5ffee in multiio for pcmmio/Makefile


Ignore:
Timestamp:
03/18/11 13:27:35 (12 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
master
Children:
68422d4
Parents:
0ecf946
Message:

2011-03-18 Joel Sherrill <joel.sherrill@…>

  • .cvsignore, Makefile, rootfs/set_adc_modes, rootfs/test_adc: Add root filesystem with test scripts.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pcmmio/Makefile

    r0ecf946 r2a5ffee  
    1414
    1515#DEFINES += -DTESTING
    16 CSRCS = pcmmio_shell.c mio_io.c mio_io_rtems.c multiio_pcmmio.c
     16CSRCS = pcmmio_shell.c mio_io.c mio_io_rtems.c multiio_pcmmio.c \
     17        FilesystemImage.c
    1718COBJS = $(CSRCS:%.c=${ARCH}/%.o)
    1819
    19 # C source names
    20 #IGNORE mio_io_linux.c for RTEMS
    21 
    22 ## Older PCMMIO Specific Commands
    23 ##SHARED_CSRCS += main_pcmmio_din.c main_pcmmio_dout.c
    24 ##SHARED_CSRCS += main_pcmmio_adc.c main_pcmmio_dac.c
    25 ##SHARED_CSRCS += main_pcmmio_irq.c
    26 ##SHARED_CSRCS += main_pcmmio_benchmark.c
    27 ## Helper for Winsystems Mains.
    28 ##SHARED_CSRCS += kbhit.c
    29 
    30 SHARED_COBJS = $(SHARED_CSRCS:%.c=${ARCH}/%.o)
    31 SHARED_CONFIG = ${ARCH}/rtems_config.o
    3220DEFINES += -I../include -I../commands
    3321LD_LIBS += ../commands/${ARCH}/libmiocmds.a
     22
     23CLEAN_ADDITIONS += FilesystemImage FilesystemImage.c FilesystemImage.h
    3424
    3525include $(RTEMS_MAKEFILE_PATH)/Makefile.inc
     
    3929OBJS= $(COBJS) $(CXXOBJS) $(ASOBJS)
    4030
    41 all:    ${ARCH} $(OBJS) $(PGM)
     31all:    ${ARCH} FilesystemImage.c FilesystemImage.h $(OBJS) $(PGM)
    4232
    4333${PGM}: $(OBJS)
    4434        $(make-exe)
     35
     36FilesystemImage: rootfs/test_adc rootfs/set_adc_modes
     37        (cd rootfs ; tar cf - --exclude=.svn \
     38          --exclude=CVS --exclude=.cvsignore .) >$(@)
     39
     40FilesystemImage.c FilesystemImage.h: FilesystemImage
     41        $(PROJECT_ROOT)/bin/rtems-bin2c FilesystemImage FilesystemImage
     42
     43FilesystemImage.o: FilesystemImage.c
     44        $(CC) $(CFLAGS) $(CPU_CFLAGS) -c $<
     45
Note: See TracChangeset for help on using the changeset viewer.