Configuration: Auto-select CONFIG_BUILD_LOADABLE when either CONFIG_BUILD_KERNEL or CONFIG_BINFMT_LOADABLE is selected.
This commit is contained in:
parent
d4ca483edc
commit
2d794f4102
5
Kconfig
5
Kconfig
@ -162,10 +162,8 @@ config APPS_DIR
|
|||||||
or to set up include file paths.
|
or to set up include file paths.
|
||||||
|
|
||||||
config BUILD_LOADABLE
|
config BUILD_LOADABLE
|
||||||
bool "NuttX application loadable build"
|
bool
|
||||||
option modules
|
option modules
|
||||||
default n if !BUILD_KERNEL
|
|
||||||
default y if BUILD_KERNEL
|
|
||||||
---help---
|
---help---
|
||||||
Automatically selected if KERNEL build is selected.
|
Automatically selected if KERNEL build is selected.
|
||||||
This selection only effects the behavior of the 'make export'
|
This selection only effects the behavior of the 'make export'
|
||||||
@ -202,6 +200,7 @@ config BUILD_PROTECTED
|
|||||||
config BUILD_KERNEL
|
config BUILD_KERNEL
|
||||||
bool "NuttX kernel build"
|
bool "NuttX kernel build"
|
||||||
depends on ARCH_USE_MMU && ARCH_ADDRENV
|
depends on ARCH_USE_MMU && ARCH_ADDRENV
|
||||||
|
select BUILD_LOADABLE
|
||||||
select LIB_SYSCALL
|
select LIB_SYSCALL
|
||||||
---help---
|
---help---
|
||||||
Builds NuttX as a separately compiled kernel. No applications are
|
Builds NuttX as a separately compiled kernel. No applications are
|
||||||
|
@ -22,6 +22,7 @@ config PATH_INITIAL
|
|||||||
|
|
||||||
config BINFMT_LOADABLE
|
config BINFMT_LOADABLE
|
||||||
bool
|
bool
|
||||||
|
select BUILD_LOADABLE
|
||||||
default n
|
default n
|
||||||
---help---
|
---help---
|
||||||
Automatically selected if a loadable binary format is selected.
|
Automatically selected if a loadable binary format is selected.
|
||||||
|
@ -29,7 +29,6 @@ CONFIG_AUDIO_WM8776=y
|
|||||||
CONFIG_BOARDCTL_RESET=y
|
CONFIG_BOARDCTL_RESET=y
|
||||||
CONFIG_BOARDCTL_USBDEVCTRL=y
|
CONFIG_BOARDCTL_USBDEVCTRL=y
|
||||||
CONFIG_BOARD_LOOPSPERMSEC=12061
|
CONFIG_BOARD_LOOPSPERMSEC=12061
|
||||||
CONFIG_BUILD_LOADABLE=y
|
|
||||||
CONFIG_BUILD_PROTECTED=y
|
CONFIG_BUILD_PROTECTED=y
|
||||||
CONFIG_C99_BOOL8=y
|
CONFIG_C99_BOOL8=y
|
||||||
CONFIG_CODECS_HASH_MD5=y
|
CONFIG_CODECS_HASH_MD5=y
|
||||||
|
@ -28,7 +28,6 @@ CONFIG_AUDIO_WM8776=y
|
|||||||
CONFIG_BOARDCTL_RESET=y
|
CONFIG_BOARDCTL_RESET=y
|
||||||
CONFIG_BOARDCTL_USBDEVCTRL=y
|
CONFIG_BOARDCTL_USBDEVCTRL=y
|
||||||
CONFIG_BOARD_LOOPSPERMSEC=12061
|
CONFIG_BOARD_LOOPSPERMSEC=12061
|
||||||
CONFIG_BUILD_LOADABLE=y
|
|
||||||
CONFIG_BUILTIN=y
|
CONFIG_BUILTIN=y
|
||||||
CONFIG_C99_BOOL8=y
|
CONFIG_C99_BOOL8=y
|
||||||
CONFIG_CODECS_HASH_MD5=y
|
CONFIG_CODECS_HASH_MD5=y
|
||||||
|
@ -2305,7 +2305,6 @@ Configuration Sub-directories
|
|||||||
|
|
||||||
2. Loadable ELF modules
|
2. Loadable ELF modules
|
||||||
|
|
||||||
CONFIG_BUILD_LOADABLE=y
|
|
||||||
CONFIG_SYMTAB_ORDEREDBYNAME=y
|
CONFIG_SYMTAB_ORDEREDBYNAME=y
|
||||||
CONFIG_ELF=y
|
CONFIG_ELF=y
|
||||||
CONFIG_EXAMPLES_HELLO=m
|
CONFIG_EXAMPLES_HELLO=m
|
||||||
|
@ -22,7 +22,6 @@ CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y
|
|||||||
CONFIG_BOARDCTL_RESET=y
|
CONFIG_BOARDCTL_RESET=y
|
||||||
CONFIG_BOARDCTL_USBDEVCTRL=y
|
CONFIG_BOARDCTL_USBDEVCTRL=y
|
||||||
CONFIG_BOARD_LOOPSPERMSEC=16717
|
CONFIG_BOARD_LOOPSPERMSEC=16717
|
||||||
CONFIG_BUILD_LOADABLE=y
|
|
||||||
CONFIG_BUILTIN=y
|
CONFIG_BUILTIN=y
|
||||||
CONFIG_CLOCK_MONOTONIC=y
|
CONFIG_CLOCK_MONOTONIC=y
|
||||||
CONFIG_DEBUG_FULLOPT=y
|
CONFIG_DEBUG_FULLOPT=y
|
||||||
|
@ -13,7 +13,6 @@ CONFIG_ARCH_CHIP="sim"
|
|||||||
CONFIG_BOARDCTL_APP_SYMTAB=y
|
CONFIG_BOARDCTL_APP_SYMTAB=y
|
||||||
CONFIG_BOARDCTL_POWEROFF=y
|
CONFIG_BOARDCTL_POWEROFF=y
|
||||||
CONFIG_BOARD_LATE_INITIALIZE=y
|
CONFIG_BOARD_LATE_INITIALIZE=y
|
||||||
CONFIG_BUILD_LOADABLE=y
|
|
||||||
CONFIG_BUILTIN=y
|
CONFIG_BUILTIN=y
|
||||||
CONFIG_CLOCK_MONOTONIC=y
|
CONFIG_CLOCK_MONOTONIC=y
|
||||||
CONFIG_DEBUG_FEATURES=y
|
CONFIG_DEBUG_FEATURES=y
|
||||||
|
Loading…
Reference in New Issue
Block a user