blob: 253bfea9dd727f4d3f07c3914f2de4a327679596 [file] [log] [blame]
Mike Banon794284f2018-02-23 19:55:09 +03001project_url=https://mirror.fsf.org/trisquel/pool/main/t/tint/tint_0.04+nmu1.tar.gz
Mike Banona16cffe2018-02-23 19:14:06 +03002archive_name=tint_0.04+nmu1.tar.gz
Antonello Dettori4f7d3292016-05-27 23:44:47 +02003
4unexport KCONFIG_AUTOHEADER
5unexport KCONFIG_AUTOCONFIG
6unexport KCONFIG_DEPENDENCIES
7unexport KCONFIG_SPLITCONFIG
8unexport KCONFIG_TRISTATE
9unexport KCONFIG_NEGATIVES
10
11all: tint
12
13tint: patch
14 echo " MAKE TINT "
15 $(MAKE) -C tint
16
17patch: download
18 cd tint; \
Mike Banona16cffe2018-02-23 19:14:06 +030019 if [ -e debian ]; then \
20 rm -rf debian typedefs.h Makefile; \
21 touch Makefile; \
22 patch -l -p1 < ../libpayload_tint.patch; \
23 fi
Antonello Dettori4f7d3292016-05-27 23:44:47 +020024
25download:
26 test -d tint || { wget $(project_url); \
27 tar -xvf $(archive_name); \
28 rm $(archive_name); \
Mike Banona16cffe2018-02-23 19:14:06 +030029 mv tint-0.04+nmu1 tint; }
Antonello Dettori4f7d3292016-05-27 23:44:47 +020030
31clean:
32 test -d tint && $(MAKE) -C tint clean || exit 0
33
34distclean:
35 rm -rf tint
36
37.PHONY: download patch tint clean distclean