payloads/external/tint/Makefile: Remove whitespaces before tab
[coreboot.git] / payloads / external / tint / Makefile
blob9473c02c57685c1a05c9818c9329a062c3eec050
1 project_url=https://mirror.fsf.org/trisquel/pool/main/t/tint/tint_0.04+nmu1.tar.gz
2 archive_name=tint_0.04+nmu1.tar.gz
4 unexport KCONFIG_AUTOHEADER
5 unexport KCONFIG_AUTOCONFIG
6 unexport KCONFIG_DEPENDENCIES
7 unexport KCONFIG_SPLITCONFIG
8 unexport KCONFIG_TRISTATE
9 unexport KCONFIG_NEGATIVES
11 all: tint
13 tint: patch
14 echo " MAKE TINT "
15 $(MAKE) -C tint
17 patch: download
18 cd tint; \
19 if [ -e debian ]; then \
20 rm -rf debian typedefs.h Makefile; \
21 touch Makefile; \
22 patch -l -p1 < ../libpayload_tint.patch; \
25 download:
26 test -d tint || { wget $(project_url); \
27 tar -xvf $(archive_name); \
28 rm $(archive_name); \
29 mv tint-0.04+nmu1 tint; }
31 clean:
32 test -d tint && $(MAKE) -C tint clean || exit 0
34 distclean:
35 rm -rf tint
37 .PHONY: download patch tint clean distclean