Changeset 1ed177b in multiio


Ignore:
Timestamp:
Jul 17, 2009, 4:39:16 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
master
Children:
bde7730
Parents:
64e5f34
Message:

2009-07-17 Joel Sherrill <joel.sherrill@…>

  • Makefile: Shell appplication configured with a dummy pcmmio command.
  • pcmmio_commands.c, pcmmio_commands.h, pcmmio_shell.c: New files.
Location:
pcmmio/original
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • pcmmio/original/ChangeLog

    r64e5f34 r1ed177b  
     12009-07-17      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * Makefile: Shell appplication configured with a dummy pcmmio command.
     4        * pcmmio_commands.c, pcmmio_commands.h, pcmmio_shell.c: New files.
     5
    162009-07-16      Joel Sherrill <joel.sherrill@oarcorp.com>
    27
  • pcmmio/original/Makefile

    r64e5f34 r1ed177b  
    99
    1010MAINS= buffered.c dacbuff.c dacout.c flash.c getall.c getvolt.c \
    11   poll.c repeat.c simple_rtems.c
     11  poll.c repeat.c simple_rtems.c pcmmio_shell.c
    1212
    1313PGMS=$(MAINS:%.c=${ARCH}/%.exe)
     
    1717
    1818# C source names
    19 SHARED_CSRCS = rtems_config.c mio_io.c kbhit.c
     19SHARED_CSRCS = mio_io.c kbhit.c pcmmio_commands.c
    2020#SHARED_CSRCS += mio_io_linux.c
    2121SHARED_CSRCS += mio_io_rtems.c
    2222
    2323SHARED_COBJS = $(SHARED_CSRCS:%.c=${ARCH}/%.o)
     24SHARED_CONFIG = ${ARCH}/rtems_config.o
    2425
    2526include $(RTEMS_MAKEFILE_PATH)/Makefile.inc
     
    2728include $(PROJECT_ROOT)/make/leaf.cfg
    2829
    29 OBJS= $(COBJS) $(CXXOBJS) $(ASOBJS)
     30OBJS= $(COBJS) $(CXXOBJS) $(ASOBJS) $(SHARED_COBJS) $(SHARED_CONFIG)
    3031
    31 all:    ${ARCH} $(SHARED_COBJS) $(PGMS)
     32all:    ${ARCH} $(OBJS) $(PGMS)
     33
     34${ARCH}/pcmmio_shell.exe: pcmmio_shell.c
     35        $(CC) $(LDFLAGS) -o $@ $< $(SHARED_COBJS)
    3236
    3337${ARCH}/%.exe: %.c
    34         $(CC) $(LDFLAGS) -o $@ $< $(SHARED_COBJS)
     38        $(CC) $(LDFLAGS) -o $@ $< $(SHARED_COBJS) $(SHARED_CONFIG)
Note: See TracChangeset for help on using the changeset viewer.