Add MKCONFIG utility, and add "-I ." to CFLAGS so that we can work
authorMichael Brown <mcb30@etherboot.org>
Sun, 17 Apr 2005 15:58:39 +0000 (15:58 +0000)
committerMichael Brown <mcb30@etherboot.org>
Sun, 17 Apr 2005 15:58:39 +0000 (15:58 +0000)
with generated headers.

src/Makefile

index 4ea843e..ede590f 100644 (file)
@@ -73,6 +73,7 @@ RANLIB                ?= $(CROSS_COMPILE)ranlib
 OBJCOPY                ?= $(CROSS_COMPILE)objcopy
 PARSEROM       ?= $(PERL) ./util/parserom.pl
 MAKEROM                ?= $(PERL) ./util/makerom.pl
+MKCONFIG       ?= $(PERL) ./util/mkconfig.pl
 NRV2B          ?= ./util/nrv2b
 
 # Location to place generated files
@@ -84,7 +85,7 @@ BLIB  = $(BIN)/blib.a
 
 # Common flags
 #
-CFLAGS         += -I include -I arch/$(ARCH)/include -DARCH=$(ARCH)
+CFLAGS         += -I include -I arch/$(ARCH)/include -I . -DARCH=$(ARCH)
 CFLAGS         += -Os -ffreestanding
 CFLAGS         += -Wall -W -Wno-format
 CFLAGS         += $(EXTRA_CFLAGS)