]> rtime.felk.cvut.cz Git - rtems-devel.git/commitdiff
RTEMS OMK template recurses to lwip directory if exists.
authorPavel Pisa <pisa@cmp.felk.cvut.cz>
Sat, 7 Nov 2015 11:03:14 +0000 (12:03 +0100)
committerPavel Pisa <pisa@cmp.felk.cvut.cz>
Sat, 7 Nov 2015 11:03:14 +0000 (12:03 +0100)
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 <pisa@cmp.felk.cvut.cz>
rtems-omk-template/Makefile.omk
rtems-omk-template/applwiptest/Makefile.omk

index fcbe4a51da593817328aa090f8c4fe85f991a1d6..e0bdf337583079acd25ac5e7f4a73c30ae02569c 100644 (file)
@@ -1 +1,2 @@
-SUBDIRS = system_opt libbar appfoo appnet appdl
+SUBDIRS = system_opt libbar appfoo appnet appdl applwiptest
+SUBDIRS += $(wildcard lwip)
index 284a1b5fb624841c4627aa1dad1da44684b39e3e..b78b0c6f39c1f29cf755f57064b9e49a305d7ae5 100644 (file)
@@ -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)