f238ead6f1
Old archive is not available anymore. The tint sources inside the new archive are the same (something changed in a debian subdirectory but we aren't using it), so a libpayload_tint.patch is still valid. Signed-off-by: Mike Banon <mikebdp2@gmail.com> Change-Id: If556fac7d1d8379a022f59ed6aee1450b7bc5aa7 Reviewed-on: https://review.coreboot.org/c/coreboot/+/48616 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
37 lines
771 B
Makefile
37 lines
771 B
Makefile
project_url=https://mirror.fsf.org/trisquel/pool/main/t/tint/tint_0.05.tar.xz
|
|
archive_name=tint_0.05.tar.xz
|
|
|
|
unexport KCONFIG_AUTOHEADER
|
|
unexport KCONFIG_AUTOCONFIG
|
|
unexport KCONFIG_DEPENDENCIES
|
|
unexport KCONFIG_SPLITCONFIG
|
|
unexport KCONFIG_TRISTATE
|
|
unexport KCONFIG_NEGATIVES
|
|
|
|
all: tint
|
|
|
|
tint: patch
|
|
echo " MAKE TINT "
|
|
$(MAKE) -C tint
|
|
|
|
patch: download
|
|
cd tint; \
|
|
if [ -e debian ]; then \
|
|
rm -rf debian typedefs.h Makefile; \
|
|
touch Makefile; \
|
|
patch -l -p1 < ../libpayload_tint.patch; \
|
|
fi
|
|
|
|
download:
|
|
test -d tint || { wget $(project_url); \
|
|
tar -xvf $(archive_name); \
|
|
rm $(archive_name); \
|
|
mv tint-0.05 tint; }
|
|
|
|
clean:
|
|
test -d tint && $(MAKE) -C tint clean || exit 0
|
|
|
|
distclean:
|
|
rm -rf tint
|
|
|
|
.PHONY: download patch tint clean distclean
|