mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
arch/sim: Copy include/nuttx/config.h to the local folder
so the source code compiled by host environment can include config.h directly and then avoid pass Kconfig option through Makefile manually Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> Change-Id: Ic9fe6f846082cef2d0808dc717df8ae6ed929edf
This commit is contained in:
@@ -198,6 +198,6 @@ ifeq ($(CONFIG_SIM_SANITIZE),y)
|
||||
endif
|
||||
|
||||
HOSTCFLAGS = $(ARCHWARNINGS) $(ARCHOPTIMIZATION) \
|
||||
$(ARCHCPUFLAGS) $(HOSTINCLUDES) $(EXTRAFLAGS) -pipe
|
||||
$(ARCHCPUFLAGS) $(HOSTINCLUDES) $(EXTRAFLAGS) -D__SIM__ -pipe
|
||||
|
||||
LDLINKFLAGS += -nostartfiles -nodefaultlibs
|
||||
|
||||
Reference in New Issue
Block a user