From fdec51d911b9ed8a03c46a2ae184b2e151d6e5d5 Mon Sep 17 00:00:00 2001 From: zador-blood-stained Date: Mon, 6 Feb 2017 18:02:16 +0300 Subject: [PATCH] Fix for building sunxi-tools extra package --- extras-buildpkgs/sunxi-tools/debian/rules | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/extras-buildpkgs/sunxi-tools/debian/rules b/extras-buildpkgs/sunxi-tools/debian/rules index 7957a75a2e..5560d4bb43 100644 --- a/extras-buildpkgs/sunxi-tools/debian/rules +++ b/extras-buildpkgs/sunxi-tools/debian/rules @@ -11,23 +11,11 @@ include /usr/share/dpkg/architecture.mk override_dh_auto_clean: dh_auto_clean - rm -f bin/fel-pio.* bin/*.sunxi bin/*.scr - if [ -f fel-to-spl-thunk.h.pristine ] ; then \ - mv fel-to-spl-thunk.h.pristine fel-to-spl-thunk.h ; \ - fi + rm -f bin/fel-pio.* bin/*.sunxi override_dh_auto_build: - if [ ! -f fel-to-spl-thunk.h.pristine ] ; then \ - cp fel-to-spl-thunk.h fel-to-spl-thunk.h.pristine ; \ - fi - ruby -x fel-to-spl-thunk.S > fel-to-spl-thunk.h - $(MAKE) tools - mkimage -A arm -T script -d bin/ramboot.uboot-sh bin/ramboot.scr - override_dh_auto_install: PKG := debian/sunxi-tools override_dh_auto_install: $(MAKE) install-tools DESTDIR=$(CURDIR)/$(PKG) PREFIX=/usr - - install -m0644 bin/ramboot.scr $(PKG)/usr/share/sunxi-tools/ramboot.scr