tools/mkexport.sh: Should export full content for flat build even with CONFIG_BUILD_LOADABLE.

This commit is contained in:
Xiang Xiao 2019-10-03 14:08:32 -06:00 committed by Gregory Nutt
parent 8471da9dec
commit 8ffa77b167
3 changed files with 5 additions and 7 deletions

View File

@ -143,7 +143,8 @@ endef
# CXXFLAGS - Options to pass to the C++ compiler
#
# '<filename>.cxx_CXXFLAGS += <options>' may also be used, as an example, to
# change the options used with the single file <filename>.cxx
# change the options used with the single file <filename>.cxx. The
# extension .cpp could also be used. The same applies mutatis mutandis.
define COMPILEXX
@echo "CXX: $1"
@ -166,8 +167,9 @@ endef
# files
# AFLAGS - Options to pass to the C+compiler
#
# '<filename>.s_CFLAGS += <options>' may also be used, as an example, to change
# the options used with the single file <filename>.s
# '<filename>.s_AFLAGS += <options>' may also be used, as an example, to change
# the options used with the single file <filename>.s. The extension .asm
# is used by some toolchains. The same applies mutatis mutandis.
define ASSEMBLE
@echo "AS: $1"

View File

@ -165,8 +165,6 @@ ifeq ($(CONFIG_BUILD_PROTECTED),y)
MKEXPORT_ARGS += -u
else ifeq ($(CONFIG_BUILD_KERNEL),y)
MKEXPORT_ARGS += -u
else ifeq ($(CONFIG_BUILD_LOADABLE),y)
MKEXPORT_ARGS += -u
endif
ifneq ($(APPDIR),)

View File

@ -147,8 +147,6 @@ ifeq ($(CONFIG_BUILD_PROTECTED),y)
MKEXPORT_ARGS += -u
else ifeq ($(CONFIG_BUILD_KERNEL),y)
MKEXPORT_ARGS += -u
else ifeq ($(CONFIG_BUILD_LOADABLE),y)
MKEXPORT_ARGS += -u
endif
ifneq ($(APPDIR),)