Martin Roth has uploaded this change for review.

View Change

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
---
M util/bincfg/Makefile
1 file changed, 3 insertions(+), 3 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/11/52111/1
diff --git a/util/bincfg/Makefile b/util/bincfg/Makefile
index 2dc5073..ca375a5 100644
--- a/util/bincfg/Makefile
+++ b/util/bincfg/Makefile
@@ -20,21 +20,21 @@

# 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

To view, visit change 52111. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I9a41b46cc90684746e2b240c8ee442df1b3d7cf5
Gerrit-Change-Number: 52111
Gerrit-PatchSet: 1
Gerrit-Owner: Martin Roth <martinroth@google.com>
Gerrit-MessageType: newchange