From a789607f845b680d761deae5042bd006915f97b6 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Mon, 5 Apr 2021 11:26:07 -0600 Subject: 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 Change-Id: I9a41b46cc90684746e2b240c8ee442df1b3d7cf5 Reviewed-on: https://review.coreboot.org/c/coreboot/+/52111 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- util/bincfg/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'util') 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 -- cgit v1.2.3