Commit cad201d3 authored by Agustin Henze's avatar Agustin Henze

Add Built-Using field (policy 7.8)

parent aa23fca9
......@@ -36,6 +36,7 @@ Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/libstdc++-arm-none
Package: libstdc++-arm-none-eabi-newlib
Architecture: all
Built-Using: ${Built-Using}
Depends:
${misc:Depends},
${shlibs:Depends},
......
#!/usr/bin/make -f
export DH_VERBOSE=1
# export DH_VERBOSE=1
TARGET=arm-none-eabi
......@@ -14,6 +14,7 @@ SVERSION := $(shell dpkg-query -W -f="\$${Version}\n" $(GCC_PACKAGE)-source)
DVERSION := $(SVERSION)+$(shell dpkg-parsechangelog | sed -ne "s/^Version: \(.*\)/\1/p")
UVERSION := $(shell echo $(DVERSION) | cut -d- -f1)
BASE_VERSION := $(shell echo $(DVERSION) | sed -e 's/\([1-9]\.[0-9]\).*-.*/\1/')
BUILT_USING := $(shell dpkg-query -f '$${source:Package} (= $${source:Version}), ' -W gcc-4.8-source)
TOP_DIR=$(shell pwd)
UPSTREAM_DIR=$(TOP_DIR)/gcc-$(UVERSION)
......@@ -102,7 +103,7 @@ override_dh_auto_test:
dh_auto_test -D$(LIBSTDCXX_SDIR) -B$(BUILD_SIZE_DIR)
override_dh_gencontrol:
dh_gencontrol -- -v$(DVERSION) -Vlocal:Version=$(UVERSION) -Vgcc:Version=$(SVERSION)
dh_gencontrol -- -v$(DVERSION) -Vlocal:Version=$(UVERSION) -Vgcc:Version=$(SVERSION) -VBuilt-Using="$(BUILT_USING)"
override_dh_auto_build:
dh_auto_build -B $(BUILD_DIR)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment