z80: Fix z80sim build system
This commit is contained in:
parent
3544fc1fd6
commit
dfd972a534
@ -21,6 +21,9 @@
|
|||||||
# Tools
|
# Tools
|
||||||
# CFLAGS, CPPFLAGS, ASFLAGS, LDFLAGS are set in $(TOPDIR)/Make.defs
|
# CFLAGS, CPPFLAGS, ASFLAGS, LDFLAGS are set in $(TOPDIR)/Make.defs
|
||||||
|
|
||||||
|
ARCH_SRCDIR = $(TOPDIR)$(DELIM)arch$(DELIM)$(CONFIG_ARCH)$(DELIM)src
|
||||||
|
|
||||||
|
CFLAGS += ${shell $(INCDIR) "$(CC)" $(ARCH_SRCDIR)$(DELIM)}
|
||||||
CFLAGS += ${shell $(INCDIR) "$(CC)" $(ARCH_SRCDIR)$(DELIM)chip}
|
CFLAGS += ${shell $(INCDIR) "$(CC)" $(ARCH_SRCDIR)$(DELIM)chip}
|
||||||
CFLAGS += ${shell $(INCDIR) "$(CC)" $(ARCH_SRCDIR)$(DELIM)common}
|
CFLAGS += ${shell $(INCDIR) "$(CC)" $(ARCH_SRCDIR)$(DELIM)common}
|
||||||
CFLAGS += ${shell $(INCDIR) "$(CC)" $(TOPDIR)$(DELIM)sched}
|
CFLAGS += ${shell $(INCDIR) "$(CC)" $(TOPDIR)$(DELIM)sched}
|
||||||
|
@ -348,6 +348,10 @@ int main(int argc, char **argv, char **envp)
|
|||||||
wintool = true;
|
wintool = true;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
else if (compiler == COMPILER_SDCC)
|
||||||
|
{
|
||||||
|
cmdarg = "-I";
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
cmdarg = (pathtype == SYSTEM_PATH) ? "-isystem" : "-I";
|
cmdarg = (pathtype == SYSTEM_PATH) ? "-isystem" : "-I";
|
||||||
|
Loading…
Reference in New Issue
Block a user