Build with -DSC16Q11_TABLE_BITS=8 on armhf
This commit is contained in:
parent
417cda7061
commit
2a8d6db055
10
debian/rules
vendored
10
debian/rules
vendored
|
@ -12,13 +12,15 @@ export DH_VERBOSE=1
|
|||
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
||||
|
||||
DPKG_EXPORT_BUILDFLAGS = 1
|
||||
include /usr/share/dpkg/buildflags.mk
|
||||
include /usr/share/dpkg/default.mk
|
||||
|
||||
DUMP1090_VERSION=$(shell dpkg-parsechangelog | sed -n 's/^Version: /v/p')
|
||||
SRCNAME=$(shell dpkg-parsechangelog | sed -n 's/^Source: //p')
|
||||
ifeq ($(DEB_HOST_ARCH),armhf)
|
||||
# Assume a Pi-like target, where using an 8-bit table is a fairly big win over the float path
|
||||
CPPFLAGS += -DSC16Q11_TABLE_BITS=8
|
||||
endif
|
||||
|
||||
override_dh_auto_build:
|
||||
dh_auto_build -- HTMLPATH=/usr/share/$(SRCNAME)/html DUMP1090_VERSION=$(DUMP1090_VERSION) RTLSDR_PREFIX=/usr
|
||||
dh_auto_build -- HTMLPATH=/usr/share/$(DEB_SOURCE)/html DUMP1090_VERSION=$(DEB_VERSION) RTLSDR_PREFIX=/usr
|
||||
|
||||
override_dh_install:
|
||||
dh_install
|
||||
|
|
Loading…
Reference in a new issue