Configuration: Auto-select CONFIG_BUILD_LOADABLE when either CONFIG_BUILD_KERNEL or CONFIG_BINFMT_LOADABLE is selected.

This commit is contained in:
Xiang Xiao 2019-09-30 06:57:16 -06:00 committed by Gregory Nutt
parent d4ca483edc
commit 2d794f4102
7 changed files with 3 additions and 8 deletions

View File

@ -162,10 +162,8 @@ config APPS_DIR
or to set up include file paths.
config BUILD_LOADABLE
bool "NuttX application loadable build"
bool
option modules
default n if !BUILD_KERNEL
default y if BUILD_KERNEL
---help---
Automatically selected if KERNEL build is selected.
This selection only effects the behavior of the 'make export'
@ -202,6 +200,7 @@ config BUILD_PROTECTED
config BUILD_KERNEL
bool "NuttX kernel build"
depends on ARCH_USE_MMU && ARCH_ADDRENV
select BUILD_LOADABLE
select LIB_SYSCALL
---help---
Builds NuttX as a separately compiled kernel. No applications are

View File

@ -22,6 +22,7 @@ config PATH_INITIAL
config BINFMT_LOADABLE
bool
select BUILD_LOADABLE
default n
---help---
Automatically selected if a loadable binary format is selected.

View File

@ -29,7 +29,6 @@ CONFIG_AUDIO_WM8776=y
CONFIG_BOARDCTL_RESET=y
CONFIG_BOARDCTL_USBDEVCTRL=y
CONFIG_BOARD_LOOPSPERMSEC=12061
CONFIG_BUILD_LOADABLE=y
CONFIG_BUILD_PROTECTED=y
CONFIG_C99_BOOL8=y
CONFIG_CODECS_HASH_MD5=y

View File

@ -28,7 +28,6 @@ CONFIG_AUDIO_WM8776=y
CONFIG_BOARDCTL_RESET=y
CONFIG_BOARDCTL_USBDEVCTRL=y
CONFIG_BOARD_LOOPSPERMSEC=12061
CONFIG_BUILD_LOADABLE=y
CONFIG_BUILTIN=y
CONFIG_C99_BOOL8=y
CONFIG_CODECS_HASH_MD5=y

View File

@ -2305,7 +2305,6 @@ Configuration Sub-directories
2. Loadable ELF modules
CONFIG_BUILD_LOADABLE=y
CONFIG_SYMTAB_ORDEREDBYNAME=y
CONFIG_ELF=y
CONFIG_EXAMPLES_HELLO=m

View File

@ -22,7 +22,6 @@ CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y
CONFIG_BOARDCTL_RESET=y
CONFIG_BOARDCTL_USBDEVCTRL=y
CONFIG_BOARD_LOOPSPERMSEC=16717
CONFIG_BUILD_LOADABLE=y
CONFIG_BUILTIN=y
CONFIG_CLOCK_MONOTONIC=y
CONFIG_DEBUG_FULLOPT=y

View File

@ -13,7 +13,6 @@ CONFIG_ARCH_CHIP="sim"
CONFIG_BOARDCTL_APP_SYMTAB=y
CONFIG_BOARDCTL_POWEROFF=y
CONFIG_BOARD_LATE_INITIALIZE=y
CONFIG_BUILD_LOADABLE=y
CONFIG_BUILTIN=y
CONFIG_CLOCK_MONOTONIC=y
CONFIG_DEBUG_FEATURES=y