|
@@ -73,6 +73,7 @@ RANLIB ?= $(CROSS_COMPILE)ranlib
|
73
|
73
|
OBJCOPY ?= $(CROSS_COMPILE)objcopy
|
74
|
74
|
PARSEROM ?= $(PERL) ./util/parserom.pl
|
75
|
75
|
MAKEROM ?= $(PERL) ./util/makerom.pl
|
|
76
|
+MKCONFIG ?= $(PERL) ./util/mkconfig.pl
|
76
|
77
|
NRV2B ?= ./util/nrv2b
|
77
|
78
|
|
78
|
79
|
# Location to place generated files
|
|
@@ -84,7 +85,7 @@ BLIB = $(BIN)/blib.a
|
84
|
85
|
|
85
|
86
|
# Common flags
|
86
|
87
|
#
|
87
|
|
-CFLAGS += -I include -I arch/$(ARCH)/include -DARCH=$(ARCH)
|
|
88
|
+CFLAGS += -I include -I arch/$(ARCH)/include -I . -DARCH=$(ARCH)
|
88
|
89
|
CFLAGS += -Os -ffreestanding
|
89
|
90
|
CFLAGS += -Wall -W -Wno-format
|
90
|
91
|
CFLAGS += $(EXTRA_CFLAGS)
|