diff options
Diffstat (limited to 'Makefile.inc')
-rw-r--r-- | Makefile.inc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile.inc b/Makefile.inc index 2a5e821bbf..4e31e83849 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -164,7 +164,7 @@ CFLAGS += -Werror endif CFLAGS += -fno-common -ffreestanding -fno-builtin -fomit-frame-pointer -additional-dirs := $(objutil)/cbfstool $(objutil)/romcc $(objutil)/options +additional-dirs := $(objutil)/cbfstool $(objutil)/romcc $(objutil)/ifdtool $(objutil)/options ####################################################################### # generate build support files @@ -222,6 +222,11 @@ $(ROMCC): $(top)/util/romcc/romcc.c @# http://www.coreboot.org/pipermail/coreboot/2010-February/055825.html $(HOSTCC) -g $(STACK) -Wall -o $@ $< +IFDTOOL:=$(objutil)/ifdtool/ifdtool +$(IFDTOOL): $(top)/util/ifdtool/ifdtool.c + @printf " HOSTCC $(subst $(obj)/,,$(@))\n" + $(HOSTCC) $(HOSTCFLAGS) -o $@ $< + ####################################################################### # needed objects that every mainboard uses # Creation of these is architecture and mainboard independent |