nvidia/cbootimage: avoid upstream's build system

It brings in useless dependencies, a weird autotools
configuration, and tons of pain everywhere.

Instead just build things ourselves.

Change-Id: I67f06e711cb9dcd594363bc1a4f99d3273074549
Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>
Reviewed-on: http://review.coreboot.org/6986
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
This commit is contained in:
Patrick Georgi
2014-09-27 11:37:46 +02:00
parent e87ee14449
commit 758f26aa2d
4 changed files with 50 additions and 9 deletions

View File

@@ -308,14 +308,7 @@ $(FLETCHER): $(top)/util/fletcher/fletcher.c
CBOOTIMAGE:=$(objutil)/cbootimage/cbootimage
$(CBOOTIMAGE): $(top)/util/nvidia-cbootimage/Makefile
@printf " MAKE $(subst $(obj)/,,$(@))\n"
$(MAKE) -C $(top)/util/nvidia-cbootimage
cp $(top)/util/nvidia-cbootimage/src/cbootimage $@
$(top)/util/nvidia-cbootimage/Makefile:
cd $(top)/util/nvidia-cbootimage/; \
./autogen.sh >/dev/null
subdirs-y += util/nvidia
#######################################################################
# needed objects that every mainboard uses