summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.inc7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile.inc b/Makefile.inc
index 0caab91fb3..21b07e666c 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -429,9 +429,10 @@ $(ROMCC_BIN): $(top)/util/romcc/romcc.c
$(HOSTCC) -g $(STACK) -Wall -o $@ $<
IFDTOOL:=$(objutil)/ifdtool/ifdtool
-$(IFDTOOL): $(top)/util/ifdtool/ifdtool.c
- @printf " HOSTCC $(subst $(obj)/,,$(@))\n"
- $(HOSTCC) $(HOSTCFLAGS) -o $@ $<
+$(IFDTOOL):
+ @printf " Compile IFDTOOL\n"
+ $(MAKE) -C $(top)/util/ifdtool
+ cp -a $(top)/util/ifdtool/ifdtool $@
IFDFAKE:=$(objutil)/ifdfake/ifdfake
$(IFDFAKE): $(top)/util/ifdfake/ifdfake.c