From 85291615c6672c4727d5274349684cc00ef474b6 Mon Sep 17 00:00:00 2001 From: Pavel Pisa Date: Sat, 7 Nov 2015 12:03:14 +0100 Subject: [PATCH] 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 --- rtems-omk-template/Makefile.omk | 3 ++- rtems-omk-template/applwiptest/Makefile.omk | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) 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) -- 2.39.2