summaryrefslogtreecommitdiff
path: root/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.inc')
-rw-r--r--Makefile.inc8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile.inc b/Makefile.inc
index 41c5778ab2..bf1b95a1df 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -265,10 +265,9 @@ else
CFLAGS_common += -Os
endif
-
additional-dirs := $(objutil)/cbfstool $(objutil)/romcc $(objutil)/ifdtool \
$(objutil)/ifdfake $(objutil)/options $(objutil)/fletcher \
- $(objutil)/cbootimage
+ $(objutil)/cbootimage $(objutil)/bimgtool
#######################################################################
# generate build support files
@@ -333,6 +332,11 @@ CBOOTIMAGE:=$(objutil)/cbootimage/cbootimage
subdirs-y += util/nvidia
+BIMGTOOL:=$(objutil)/bimgtool/bimgtool
+$(BIMGTOOL): $(top)/util/bimgtool/bimgtool.c
+ @printf " HOSTCC $(subst $(obj)/,,$(@))\n"
+ $(HOSTCC) $(HOSTCFLAGS) -o $@ $<
+
#######################################################################
# needed objects that every mainboard uses
# Creation of these is architecture and mainboard independent