build/packages/extras-buildpkgs/sunxi-tools/debian/rules

22 lines
464 B
Plaintext
Raw Permalink Normal View History

#!/usr/bin/make -f
# -*- makefile -*-
include /usr/share/dpkg/architecture.mk
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
%:
dh $@
override_dh_auto_clean:
dh_auto_clean
rm -f bin/fel-pio.* bin/*.sunxi
override_dh_auto_build:
$(MAKE) EXTRA_CFLAGS="$(CFLAGS) $(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" tools
override_dh_auto_install: PKG := debian/sunxi-tools
override_dh_auto_install:
$(MAKE) install-tools DESTDIR=$(CURDIR)/$(PKG) PREFIX=/usr