mirror of
https://github.com/DrHo1y/orangepi-build.git
synced 2026-11-19 16:42:45 +07:00
First Commit
This commit is contained in:
21
external/packages/extras-buildpkgs/sunxi-tools/debian/rules
vendored
Normal file
21
external/packages/extras-buildpkgs/sunxi-tools/debian/rules
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user