summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Roth <martin@coreboot.org>2021-04-05 11:26:07 -0600
committerPatrick Georgi <pgeorgi@google.com>2021-04-07 08:49:03 +0000
commita789607f845b680d761deae5042bd006915f97b6 (patch)
treef34aea4a50d514bbc573d0c744a67b98d754575b
parentc811742c99e34f91bc33902f2061524a04f31988 (diff)
util/bincfg/Makefile: change ./bincfg to $(abspath $(TARGET))
This change was promised as a follow-up in change ID: Ic0302f663cbc931325334d0cce93d3b0bf937cc6 Signed-off-by: Martin Roth <martin@coreboot.org> Change-Id: I9a41b46cc90684746e2b240c8ee442df1b3d7cf5 Reviewed-on: https://review.coreboot.org/c/coreboot/+/52111 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
-rw-r--r--util/bincfg/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/bincfg/Makefile b/util/bincfg/Makefile
index 2dc5073f4a..ca375a5c13 100644
--- a/util/bincfg/Makefile
+++ b/util/bincfg/Makefile
@@ -20,21 +20,21 @@ $(TARGET).tab.c $(TARGET).tab.h: $(TARGET).y
# Use this target to generate GbE for X200
gen-gbe-ich9m: $(TARGET)
- ./bincfg gbe-ich9m.spec gbe-ich9m.set gbe1.bin
+ $(abspath $(TARGET)) gbe-ich9m.spec gbe-ich9m.set gbe1.bin
# duplicate binary as per spec
cat gbe1.bin gbe1.bin > flashregion_3_gbe.bin
rm -f gbe1.bin
# Use this target to generate GbE for X220/x230
gen-gbe-82579LM: $(TARGET)
- ./bincfg gbe-82579LM.spec gbe-82579LM.set gbe1.bin
+ $(abspath $(TARGET)) gbe-82579LM.spec gbe-82579LM.set gbe1.bin
# duplicate binary as per spec
cat gbe1.bin gbe1.bin > flashregion_3_gbe.bin
rm -f gbe1.bin
# Use this target to generate IFD for X200
gen-ifd-x200: $(TARGET)
- ./bincfg ifd-x200.spec ifd-x200.set flashregion_0_fd.bin
+ $(abspath $(TARGET)) ifd-x200.spec ifd-x200.set flashregion_0_fd.bin
clean:
rm -f *.lex.c *.tab.c *.tab.h *.o bincfg flashregion_0_fd.bin flashregion_3_gbe.bin