diff --git a/examples/nxflat/nxflat_main.c b/examples/nxflat/nxflat_main.c index 791e60e38..191c55239 100644 --- a/examples/nxflat/nxflat_main.c +++ b/examples/nxflat/nxflat_main.c @@ -62,10 +62,6 @@ * are required -- only the more obvious. */ -#ifdef CONFIG_BINFMT_DISABLE -# error "The binary loader is disabled (CONFIG_BINFMT_DISABLE)!" -#endif - #ifndef CONFIG_NXFLAT # error "You must select CONFIG_NXFLAT in your configuration file" #endif @@ -82,6 +78,9 @@ # error "You must not disable loadable modules via CONFIG_BINFMT_DISABLE in your configuration file" #endif +#ifndef CONFIG_BOARDCTL_ROMDISK +# error "CONFIG_BOARDCTL_ROMDISK should be enabled in the configuration file" +#endif /* Describe the ROMFS file system */ #define SECTORSIZE 512 diff --git a/examples/thttpd/thttpd_main.c b/examples/thttpd/thttpd_main.c index d3500848a..5d6a840db 100644 --- a/examples/thttpd/thttpd_main.c +++ b/examples/thttpd/thttpd_main.c @@ -95,6 +95,10 @@ # ifdef CONFIG_DISABLE_MOUNTPOINT # error "You must not disable mountpoints via CONFIG_DISABLE_MOUNTPOINT in your configuration file" # endif + +#ifndef CONFIG_BOARDCTL_ROMDISK +# error "CONFIG_BOARDCTL_ROMDISK should be enabled in the configuration file" +#endif #endif #ifdef CONFIG_THTTPD_BINFS