Mercurial > ecos
view examples/build_Makefile @ 3079:b8d91bac2ba8
* Changes made to support CAN IO package update:
* cdl/can_lpc2xxx.cdl: CYGOPT_DEVS_CAN_LPC2XXX_EXTENDED_CFG_KEYS
replaced by CYG_IO_SET_CONFIG_CAN_RANGE_FILTER.
* include/can_lpc2xxx.h: Commented out unused and not implemented
things.
* src/can_lpc2xxx.c: CYGNUM_CAN_EVENT_OVERRUN_RX_HW instead of
CYGNUM_CAN_EVENT_OVERRUN_RX. CYGOPT_DEVS_CAN_LPC2XXX_EXTENDED_CFG_KEYS
replaced by CYG_IO_SET_CONFIG_CAN_RANGE_FILTER. can_lpc2xxx.h not
required any more. CYGNUM_CAN_MODE_LISTEN_ONLY_ENTER &
CYGNUM_CAN_MODE_LISTEN_ONLY_EXIT return -EINVAL.
[ Bugzilla 1001453 ]
| author | sergeig |
|---|---|
| date | Thu, 09 Feb 2012 21:37:33 +0000 |
| parents | ba637aa555ec |
| children |
line wrap: on
line source
#! /bin/sh # This script will create a generic Makefile template # suitable for use with an installed eCos configuration. # usage: <eCos_repository>/build_Makefile [<eCos_install_dir>] # env: ${SRCS} - the default list of source files # ${DST} - the default target ECOS_DIR=${1-`pwd`} cat <<EOF >Makefile # # Makefile for eCos tests # # Platform specific setups include Make.params # Simple build rules .c.o: \$(CC) -c \$(ACTUAL_CFLAGS) -I\$(PREFIX)/include \$*.c .o: \$(CC) \$(ACTUAL_LDFLAGS) -L\$(PREFIX)/lib -Ttarget.ld \$*.o -o \$@ SRCS=${SRCS-source_file.c} OBJS=\${SRCS:%.c=%.o} DST=${DST-result_prog} \${DST}: \${OBJS} EOF # Create actual parameters `dirname $0`/build_Make.params ${ECOS_DIR}
