]> git.proxmox.com Git - pve-edk2-firmware.git/commitdiff
d/rules: reuse dpkgs default.mk
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 5 Oct 2021 06:47:45 +0000 (08:47 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 5 Oct 2021 06:47:45 +0000 (08:47 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
debian/rules

index b364ed322b4817fef4924fd4c28419d101e1812f..19c4a1d453f85de8c3e89e3d157f5c20df4a812e 100755 (executable)
@@ -4,9 +4,7 @@ SHELL=/bin/bash
 # this is a simplified version from the upstream package
 
 # Only used for creating our build tools.
-DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
-DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
-DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+include /usr/share/dpkg/default.mk
 
 # for GCC5 and newer, LTO enabled
 EDK2_TOOLCHAIN=GCC5