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>
This commit is contained in:
parent
c811742c99
commit
a789607f84
|
@ -20,21 +20,21 @@ $(TARGET).tab.c $(TARGET).tab.h: $(TARGET).y
|
||||||
|
|
||||||
# Use this target to generate GbE for X200
|
# Use this target to generate GbE for X200
|
||||||
gen-gbe-ich9m: $(TARGET)
|
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
|
# duplicate binary as per spec
|
||||||
cat gbe1.bin gbe1.bin > flashregion_3_gbe.bin
|
cat gbe1.bin gbe1.bin > flashregion_3_gbe.bin
|
||||||
rm -f gbe1.bin
|
rm -f gbe1.bin
|
||||||
|
|
||||||
# Use this target to generate GbE for X220/x230
|
# Use this target to generate GbE for X220/x230
|
||||||
gen-gbe-82579LM: $(TARGET)
|
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
|
# duplicate binary as per spec
|
||||||
cat gbe1.bin gbe1.bin > flashregion_3_gbe.bin
|
cat gbe1.bin gbe1.bin > flashregion_3_gbe.bin
|
||||||
rm -f gbe1.bin
|
rm -f gbe1.bin
|
||||||
|
|
||||||
# Use this target to generate IFD for X200
|
# Use this target to generate IFD for X200
|
||||||
gen-ifd-x200: $(TARGET)
|
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:
|
clean:
|
||||||
rm -f *.lex.c *.tab.c *.tab.h *.o bincfg flashregion_0_fd.bin flashregion_3_gbe.bin
|
rm -f *.lex.c *.tab.c *.tab.h *.o bincfg flashregion_0_fd.bin flashregion_3_gbe.bin
|
||||||
|
|
Loading…
Reference in New Issue