Kconfig and tools/Makefile.unix and : add dynamic application loadable support
This commit is contained in:
parent
2edfe7ed42
commit
dc15583df8
10
Kconfig
10
Kconfig
@ -161,6 +161,16 @@ config APPS_DIR
|
|||||||
example, to include makefile fragments (e.g., .config or Make.defs)
|
example, to include makefile fragments (e.g., .config or Make.defs)
|
||||||
or to set up include file paths.
|
or to set up include file paths.
|
||||||
|
|
||||||
|
config BUILD_LOADABLE
|
||||||
|
bool "NuttX application loadable build"
|
||||||
|
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'
|
||||||
|
target and currently has no effect unless you wish to build
|
||||||
|
loadable applications in a FLAT build.
|
||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "Memory organization"
|
prompt "Memory organization"
|
||||||
default BUILD_FLAT
|
default BUILD_FLAT
|
||||||
|
@ -166,10 +166,10 @@ MKEXPORT_ARGS = -w$(WINTOOL) -t "$(TOPDIR)"
|
|||||||
|
|
||||||
ifeq ($(CONFIG_BUILD_PROTECTED),y)
|
ifeq ($(CONFIG_BUILD_PROTECTED),y)
|
||||||
MKEXPORT_ARGS += -u
|
MKEXPORT_ARGS += -u
|
||||||
else
|
else ifeq ($(CONFIG_BUILD_KERNEL),y)
|
||||||
ifeq ($(CONFIG_BUILD_KERNEL),y)
|
MKEXPORT_ARGS += -u
|
||||||
|
else ifeq ($(CONFIG_BUILD_LOADABLE),y)
|
||||||
MKEXPORT_ARGS += -u
|
MKEXPORT_ARGS += -u
|
||||||
endif
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(V),2)
|
ifeq ($(V),2)
|
||||||
|
@ -158,11 +158,11 @@ MKEXPORT = tools\mkexport.bat
|
|||||||
MKEXPORT_ARGS = -w$(WINTOOL) -t "$(TOPDIR)"
|
MKEXPORT_ARGS = -w$(WINTOOL) -t "$(TOPDIR)"
|
||||||
|
|
||||||
ifeq ($(CONFIG_BUILD_PROTECTED),y)
|
ifeq ($(CONFIG_BUILD_PROTECTED),y)
|
||||||
MKEXPORT_ARGS = -u
|
MKEXPORT_ARGS += -u
|
||||||
else
|
else ifeq ($(CONFIG_BUILD_KERNEL),y)
|
||||||
ifeq ($(CONFIG_BUILD_KERNEL),y)
|
MKEXPORT_ARGS += -u
|
||||||
MKEXPORT_ARGS = -u
|
else ifeq ($(CONFIG_BUILD_LOADABLE),y)
|
||||||
endif
|
MKEXPORT_ARGS += -u
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(V),2)
|
ifeq ($(V),2)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user