From 3b785276e679bc8be4cb3046d757fb6caa40927d Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Thu, 8 May 2014 11:08:01 -0600 Subject: Add a ROMFS file system for testing the P-Code binary format --- apps/examples/elf/Kconfig | 3 ++- apps/examples/elf/elf_main.c | 4 ---- 2 files changed, 2 insertions(+), 5 deletions(-) (limited to 'apps/examples/elf') diff --git a/apps/examples/elf/Kconfig b/apps/examples/elf/Kconfig index c62a98486..5346e14d5 100644 --- a/apps/examples/elf/Kconfig +++ b/apps/examples/elf/Kconfig @@ -10,6 +10,7 @@ config EXAMPLES_ELF Enable the ELF loader example if EXAMPLES_ELF + config EXAMPLES_ELF_DEVMINOR int "ROMFS Minor Device Number" default 0 @@ -19,7 +20,7 @@ config EXAMPLES_ELF_DEVMINOR containing the ELF executables to be tested. Default: 0 config EXAMPLES_ELF_DEVPATH - string "ROMFS Devie Path" + string "ROMFS Device Path" default "/dev/ram0" ---help--- The path to the ROMFS block driver device. This must match EXAMPLES_ELF_DEVMINOR. diff --git a/apps/examples/elf/elf_main.c b/apps/examples/elf/elf_main.c index ce43c241f..e1bdb4aa5 100644 --- a/apps/examples/elf/elf_main.c +++ b/apps/examples/elf/elf_main.c @@ -86,10 +86,6 @@ # error "You must not disable mountpoints via CONFIG_DISABLE_MOUNTPOINT in your configuration file" #endif -#ifdef CONFIG_BINFMT_DISABLE -# error "You must not disable loadable modules via CONFIG_BINFMT_DISABLE in your configuration file" -#endif - /* Describe the ROMFS file system */ #define SECTORSIZE 512 -- cgit v1.2.3