appdl: do not reference FTP and TFTP if networking is not configured for appdl.
authorPavel Pisa <pisa@cmp.felk.cvut.cz>
Mon, 20 Jun 2016 17:41:43 +0000 (19:41 +0200)
committerPavel Pisa <pisa@cmp.felk.cvut.cz>
Mon, 20 Jun 2016 17:41:43 +0000 (19:41 +0200)
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
rtems-omk-template/appdl/system.h

index 68989a8..fc1b6de 100644 (file)
@@ -56,9 +56,9 @@ rtems_task Init(
 
 #define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM
 /*#define CONFIGURE_USE_MINIIMFS_AS_BASE_FILESYSTEM*/
+#ifdef CONFIG_OC_APP_APPDL_NET
 #define CONFIGURE_FILESYSTEM_TFTPFS
 #define CONFIGURE_FILESYSTEM_FTPFS
-#ifdef CONFIG_OC_APP_APPDL_NET
 #define CONFIGURE_FILESYSTEM_NFS
 #endif
 #define CONFIGURE_FILESYSTEM_DOSFS