From 745de760de40222b2e760b77dbe98bf0a5f1aa0f Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Thu, 8 May 2014 11:08:01 -0600 Subject: [PATCH] Add a ROMFS file system for testing the P-Code binary format --- examples/elf/Kconfig | 3 ++- examples/elf/elf_main.c | 4 ---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/examples/elf/Kconfig b/examples/elf/Kconfig index c62a98486..5346e14d5 100644 --- a/examples/elf/Kconfig +++ b/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/examples/elf/elf_main.c b/examples/elf/elf_main.c index ce43c241f..e1bdb4aa5 100644 --- a/examples/elf/elf_main.c +++ b/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