mirror of
https://github.com/apache/nuttx.git
synced 2026-05-18 08:54:05 +08:00
boards/Board.mk: Correct a simulator included path problem introduced by reorganization of arch/sim/src.
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
This is just a placeholder to assure that this fake "chip" directory exits.
|
||||
The simulation, of course, has no chips.
|
||||
|
||||
+2
-6
@@ -65,10 +65,8 @@ endif
|
||||
else
|
||||
ifeq ($(WINTOOL),y)
|
||||
CFLAGS += -I "${shell cygpath -w $(SCHEDSRCDIR)}"
|
||||
ifeq ($(CONFIG_ARCH_SIM),y)
|
||||
CFLAGS += -I "${shell cygpath -w $(ARCHSRCDIR)}"
|
||||
else
|
||||
CFLAGS += -I "${shell cygpath -w $(ARCHSRCDIR)$(DELIM)chip}"
|
||||
ifneq ($(CONFIG_ARCH_SIM),y)
|
||||
CFLAGS += -I "${shell cygpath -w $(ARCHSRCDIR)$(DELIM)common}"
|
||||
ifneq ($(ARCH_FAMILY),)
|
||||
CFLAGS += -I "${shell cygpath -w $(ARCHSRCDIR)$(DELIM)$(ARCH_FAMILY)}"
|
||||
@@ -76,10 +74,8 @@ endif
|
||||
endif
|
||||
else
|
||||
CFLAGS += -I$(SCHEDSRCDIR)
|
||||
ifeq ($(CONFIG_ARCH_SIM),y)
|
||||
CFLAGS += -I$(ARCHSRCDIR)
|
||||
else
|
||||
CFLAGS += -I$(ARCHSRCDIR)$(DELIM)chip
|
||||
ifneq ($(CONFIG_ARCH_SIM),y)
|
||||
CFLAGS += -I$(ARCHSRCDIR)$(DELIM)common
|
||||
ifneq ($(ARCH_FAMILY),)
|
||||
CFLAGS += -I$(ARCHSRCDIR)$(DELIM)$(ARCH_FAMILY)
|
||||
|
||||
Reference in New Issue
Block a user