From 018e1c5e6cdee061f4c4681641b0bbc53e36247f Mon Sep 17 00:00:00 2001 From: Pavel Pisa Date: Sat, 17 Oct 2015 23:49:29 +0200 Subject: [PATCH 1/1] appdl: do not link with NFS library if networking is not configured for appdl. When RTEMS is configured without networking and CONFIG_OC_APP_APPDL_NET is not set then attempt to link with NFS fails. Signed-off-by: Pavel Pisa --- rtems-omk-template/appdl/Makefile.omk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rtems-omk-template/appdl/Makefile.omk b/rtems-omk-template/appdl/Makefile.omk index a39578f..2de8884 100644 --- a/rtems-omk-template/appdl/Makefile.omk +++ b/rtems-omk-template/appdl/Makefile.omk @@ -22,7 +22,11 @@ appdl_EMBEDTARFILES = rootfs appdl_EXPORTSYMBOLS = y #appdl_EXPORTSYMBOLS = COMPLETE -lib_LOADLIBES += bar nfs m +lib_LOADLIBES += bar m + +ifeq ($(CONFIG_OC_APP_APPDL_NET),y) +lib_LOADLIBES += nfs +endif ifeq ($(CONFIG_OC_APP_APPDL_TELNETD),y) lib_LOADLIBES += telnetd -- 2.39.2