From: Pavel Pisa Date: Sat, 7 Nov 2015 11:03:14 +0000 (+0100) Subject: RTEMS OMK template recurses to lwip directory if exists. X-Git-Url: http://rtime.felk.cvut.cz/gitweb/rtems-devel.git/commitdiff_plain/85291615c6672c4727d5274349684cc00ef474b6 RTEMS OMK template recurses to lwip directory if exists. Actual LwIP library for RTEMS build is enabled by options CONFIG_LWIP_LIB=y CONFIG_LWIP_OS_PORT=rtems and compiled drivers has to be selected by another option, i.e. CONFIG_LWIP_DEVICE_DRIVERS = tms570_emac See omk-template/config/config.tms570-lwip for more exhaustive list of LwIP options accepted by OMK LwIP build. Signed-off-by: Pavel Pisa --- diff --git a/rtems-omk-template/Makefile.omk b/rtems-omk-template/Makefile.omk index fcbe4a5..e0bdf33 100644 --- a/rtems-omk-template/Makefile.omk +++ b/rtems-omk-template/Makefile.omk @@ -1 +1,2 @@ -SUBDIRS = system_opt libbar appfoo appnet appdl +SUBDIRS = system_opt libbar appfoo appnet appdl applwiptest +SUBDIRS += $(wildcard lwip) diff --git a/rtems-omk-template/applwiptest/Makefile.omk b/rtems-omk-template/applwiptest/Makefile.omk index 284a1b5..b78b0c6 100644 --- a/rtems-omk-template/applwiptest/Makefile.omk +++ b/rtems-omk-template/applwiptest/Makefile.omk @@ -1,6 +1,7 @@ default_CONFIG += CONFIG_OC_BUILD4RTEMS=y default_CONFIG += CONFIG_OC_GDBSTUB=n default_CONFIG += CONFIG_OC_APP_APPLWIPTEST=x +default_CONFIG += CONFIG_LWIP_OS_PORT=rtems ifeq ($(CONFIG_OC_APP_APPLWIPTEST),y)