]> git.proxmox.com Git - pve-firmware.git/commitdiff
buildsys: use dpkg-dev makefile helpers for pkg info
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 22 May 2019 13:28:41 +0000 (15:28 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 22 May 2019 13:35:20 +0000 (15:35 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile

index 6cbcd84bf948e97472dc01e8554fed20fef6d18c..1ec659fb1302c0a056d855f58c4c87ee74fbb032 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
-FW_VER=2.0
-FW_REL=6
-FW_DEB=pve-firmware_${FW_VER}-${FW_REL}_all.deb
+include /usr/share/dpkg/pkg-info.mk
+
+FW_DEB=pve-firmware_${DEB_VERSION_UPSTREAM}_all.deb
 
 GITVERSION:=$(shell git rev-parse HEAD)