Fix for building sunxi-tools extra package
This commit is contained in:
parent
3c8e252fb1
commit
fdec51d911
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user