[coreboot-gerrit] Patch set updated for coreboot: Makefile.inc: build ifdtool using it's own makefile

Alexander Couzens (lynxis@fe80.eu) gerrit at coreboot.org
Sat Sep 10 18:38:12 CEST 2016


Alexander Couzens (lynxis at fe80.eu) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/16571

-gerrit

commit b16984732c197cc38f488cd81a4338cf36520ac3
Author: Alexander Couzens <lynxis at fe80.eu>
Date:   Sat Sep 10 14:01:08 2016 +0200

    Makefile.inc: build ifdtool using it's own makefile
    
    Change-Id: I67c73c101b928d104e231064e05d367bf9584730
    Signed-off-by: Alexander Couzens <lynxis at fe80.eu>
---
 Makefile.inc | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/Makefile.inc b/Makefile.inc
index 0caab91..21b07e6 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



More information about the coreboot-gerrit mailing list