Mercurial > ecos
view examples/build_Makefile @ 2162:02b2b5ad1fef
* tests/nc_test_slave.c (nc_slave): Fix some of the compiler
warnings.
* cdl/lwip_net.cdl Changed default value of
CYGNUM_LWIP_MEMP_NUM_SYS_TIMEOUT (required for DHCP).
Replaced CYGPKG_LWIP_DHCP_OPTIONS with CYGPKG_LWIP_DHCP
and add CYGOPT_LWIP_DHCP_MANAGEMENT for automatic DHCP
management.
* include/lwip/ip_addr.h Add macro ip_addr_netcmp()
(copied from lwIP CVS).
* include/netif/etharp.h Updated file to version of
lwIP CVS.
* src/ecos/init.c Add include <pkgconf/net_lwip.h>
Add lwip_dhcp_fine_tmr() and lwip_dhcp_coarse_tmr()
for DHCP processing.
Change tcpip_init_done() to start DHCP timers and
ARP timer.
Changed lwip_set_addr() to properly setup IP adress
if DHCP is used.
Added lwip_dhcp_init() for start of DHCP client.
Removed start of ARP timer from ecosclue_init().
* src/netif/etharp.c Updated file to version of
lwIP CVS.
| author | asl |
|---|---|
| date | Wed, 15 Mar 2006 08:02:39 +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}
