aboutsummaryrefslogtreecommitdiffstats
path: root/mk/com32.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/com32.mk')
-rw-r--r--mk/com32.mk8
1 files changed, 6 insertions, 2 deletions
diff --git a/mk/com32.mk b/mk/com32.mk
index 9a3b19d3..90eb7edd 100644
--- a/mk/com32.mk
+++ b/mk/com32.mk
@@ -67,12 +67,16 @@ CFLAGS = $(GCCOPT) $(GCCWARN) \
-fomit-frame-pointer -D__COM32__ -D__FIRMWARE_$(FIRMWARE)__ \
-nostdinc -iwithprefix include \
-I$(com32)/libutil/include -I$(com32)/include \
- -I$(com32)/include/sys $(GPLINCLUDE)
+ -I$(com32)/include/sys $(GPLINCLUDE) \
+ -I$(topdir)/core \
+ -I$(topdir)/core/include
SFLAGS = $(GCCOPT) $(GCCWARN) \
-fomit-frame-pointer -D__COM32__ -D__FIRMWARE_$(FIRMWARE)__ \
-nostdinc -iwithprefix include \
-I$(com32)/libutil/include -I$(com32)/include \
- -I$(com32)/include/sys $(GPLINCLUDE)
+ -I$(com32)/include/sys $(GPLINCLUDE) \
+ -I$(topdir)/core \
+ -I$(topdir)/core/include
COM32LD = $(com32)/lib/$(ARCH)/elf.ld
LDFLAGS = -m elf_$(ARCH) -shared --hash-style=gnu -T $(COM32LD)