a16cffe480
Fixes two buffer overflows and opens a road to further improvements. All the previous adjustments to libpayload_tint.patch (including the latest "use the current time as random seed") have been preserved. Change-Id: I22e65d18a0b1551f7049c4afe7f95868f584cf9b Signed-off-by: Mike Banon <mikebdp2@gmail.com> Reviewed-on: https://review.coreboot.org/23852 Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Martin Roth <martinroth@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
37 lines
794 B
Makefile
37 lines
794 B
Makefile
project_url=http://http.debian.net/debian/pool/main/t/tint/tint_0.04+nmu1.tar.gz
|
|
archive_name=tint_0.04+nmu1.tar.gz
|
|
|
|
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.04+nmu1 tint; }
|
|
|
|
clean:
|
|
test -d tint && $(MAKE) -C tint clean || exit 0
|
|
|
|
distclean:
|
|
rm -rf tint
|
|
|
|
.PHONY: download patch tint clean distclean
|