Marty E. Plummer has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/35008 )
Change subject: build: build the open-power ffs tools ......................................................................
build: build the open-power ffs tools
Change-Id: I0ed8b8de001835e5676203c384a1659a2f29ff71 Signed-off-by: Marty E. Plummer hanetzer@startmail.com --- M Makefile.inc 1 file changed, 17 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/08/35008/1
diff --git a/Makefile.inc b/Makefile.inc index c275d1e..9ad0c59 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -515,6 +515,8 @@ IFWITOOL:=$(objutil)/cbfstool/ifwitool IFITTOOL:=$(objutil)/cbfstool/ifittool AMDCOMPRESS:=$(objutil)/cbfstool/amdcompress +FPART:=$(objutil)/ffs/fpart/fpart +ECC:=$(objutil)/ffs/ecc/ecc
$(obj)/cbfstool: $(CBFSTOOL) cp $< $@ @@ -534,6 +536,21 @@ $(obj)/amdcompress: $(AMDCOMPRESS) cp $< $@
+$(FPART): + mkdir -p $(objutil)/ffs + cd $(top)/3rdparty/ffs && autoreconf -i + cd $(objutil)/ffs && $(top)/3rdparty/ffs/configure CC="$(HOSTCC)" LD="$(LD)" + $(MAKE) -C $(objutil)/ffs + +$(ECC): $(FPART) + true + +$(obj)/fpart: $(FPART) + cp $< $@ + +$(obj)/ecc: $(ECC) + cp $< $@ + _WINCHECK=$(shell uname -o 2> /dev/null) STACK= ifeq ($(_WINCHECK),Msys)