From: Pavel Pisa Date: Sat, 17 Oct 2015 21:49:29 +0000 (+0200) Subject: appdl: do not link with NFS library if networking is not configured for appdl. X-Git-Url: http://rtime.felk.cvut.cz/gitweb/rtems-devel.git/commitdiff_plain/018e1c5e6cdee061f4c4681641b0bbc53e36247f?hp=9153ac65b85606937ac32bbafec3dcb9626e73c0 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 --- 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