mirror of https://github.com/ipxe/ipxe.git
Add MKCONFIG utility, and add "-I ." to CFLAGS so that we can work
with generated headers.pull/1/head
parent
b79895c9d6
commit
b5ee3763c6
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue