mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-16 21:28:33 +03:00
Don't attempt to build the firmware with the random default compiler from the distribution anymore. With some GCC versions, the DFU loader does not fit the partition anymore. Related: OS#5260 Change-Id: I95a8472b458db203ad14efd57268ca922c75aeb1
26 lines
553 B
Makefile
Executable File
26 lines
553 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
|
|
# Uncomment this to turn on verbose mode.
|
|
#export DH_VERBOSE=1
|
|
|
|
DEBIAN := $(shell dpkg-parsechangelog | grep ^Version: | cut -d' ' -f2)
|
|
DEBVERS := $(shell echo '$(DEBIAN)' | cut -d- -f1)
|
|
VERSION := $(shell echo '$(DEBVERS)' | sed -e 's/[+-].*//' -e 's/~//g')
|
|
|
|
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
|
|
|
export DEB_LDFLAGS_MAINT_STRIP = -Wl,-Bsymbolic-functions
|
|
|
|
|
|
%:
|
|
dh $@
|
|
|
|
override_dh_autoreconf:
|
|
cd host && dh_autoreconf
|
|
|
|
override_dh_auto_build:
|
|
dh_auto_build -- utils
|
|
|
|
override_dh_auto_install:
|
|
dh_auto_build -- -C host
|