2018-02-23 17:55:09 +01:00
|
|
|
project_url=https://mirror.fsf.org/trisquel/pool/main/t/tint/tint_0.04+nmu1.tar.gz
|
2018-02-23 17:14:06 +01:00
|
|
|
archive_name=tint_0.04+nmu1.tar.gz
|
2016-05-27 23:44:47 +02:00
|
|
|
|
|
|
|
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; \
|
2018-02-23 17:14:06 +01:00
|
|
|
if [ -e debian ]; then \
|
|
|
|
rm -rf debian typedefs.h Makefile; \
|
|
|
|
touch Makefile; \
|
|
|
|
patch -l -p1 < ../libpayload_tint.patch; \
|
|
|
|
fi
|
2016-05-27 23:44:47 +02:00
|
|
|
|
|
|
|
download:
|
|
|
|
test -d tint || { wget $(project_url); \
|
|
|
|
tar -xvf $(archive_name); \
|
|
|
|
rm $(archive_name); \
|
2018-02-23 17:14:06 +01:00
|
|
|
mv tint-0.04+nmu1 tint; }
|
2016-05-27 23:44:47 +02:00
|
|
|
|
|
|
|
clean:
|
|
|
|
test -d tint && $(MAKE) -C tint clean || exit 0
|
|
|
|
|
|
|
|
distclean:
|
|
|
|
rm -rf tint
|
|
|
|
|
|
|
|
.PHONY: download patch tint clean distclean
|