boards/Board.mk: Correct a simulator included path problem introduced by reorganization of arch/sim/src.

This commit is contained in:
Gregory Nutt 2019-08-08 07:17:43 -06:00
parent 2f0a3b6d75
commit eaaa73198b
3 changed files with 2 additions and 9 deletions

View File

@ -1,3 +0,0 @@
This is just a placeholder to assure that this fake "chip" directory exits.
The simulation, of course, has no chips.

View File

@ -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)