use -include option instead of including menuconfig manually
Change-Id: Ie48b96fe9c8ab036d7234b56a169d6668171a895
This commit is contained in:
4
tools/build/mk/los_config.mk
Executable file → Normal file
4
tools/build/mk/los_config.mk
Executable file → Normal file
@@ -119,6 +119,7 @@ CXX_PATH = $(LITEOSTOPDIR)/lib/cxxstl
|
||||
JFFS_PATH = $(LITEOSTOPDIR)/fs/jffs2
|
||||
LITEOS_SCRIPTPATH ?= $(LITEOSTOPDIR)/tools/scripts
|
||||
LITEOS_LIB_BIGODIR = $(OUT)/lib/obj
|
||||
LITEOS_MENUCONFIG_H = $(LITEOSTOPDIR)/include/generated/autoconf.h
|
||||
LOSCFG_ENTRY_SRC = $(LITEOSTOPDIR)/kernel/common/los_config.c
|
||||
|
||||
### include variable
|
||||
@@ -670,6 +671,9 @@ LITEOS_COPTS_EXTRA_INTERWORK := $(LITEOS_COPTS_EXTRA)
|
||||
#-fno-inline
|
||||
endif
|
||||
|
||||
# kernel configuration macros
|
||||
LITEOS_CMACRO += -imacros $(LITEOS_MENUCONFIG_H)
|
||||
|
||||
ifneq ($(LOSCFG_COMPILER_CLANG_LLVM), y)
|
||||
LITEOS_LD_OPTS += -nostartfiles
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user