From cd7c42fa58f901d8db5b5fc0970757a87742b6e5 Mon Sep 17 00:00:00 2001 From: Gregory Lirent Date: Tue, 2 Jul 2024 13:47:11 +0300 Subject: [PATCH] Update Makefile --- Makefile | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/Makefile b/Makefile index 750cb02..f538bcf 100644 --- a/Makefile +++ b/Makefile @@ -11,10 +11,12 @@ KREL=2 KERNEL_MAJMIN=$(KERNEL_MAJ).$(KERNEL_MIN) KERNEL_VER=$(KERNEL_MAJMIN).$(KERNEL_PATCHLEVEL) +KNAME=proxmox-kernel-lowlatency-qoup +HNAME=proxmox-headers-lowlatency-qoup EXTRAVERSION=-$(KREL)-pve KVNAME=$(KERNEL_VER)$(EXTRAVERSION) -PACKAGE=proxmox-kernel-lowlatency-qoup-$(KVNAME) -HDRPACKAGE=proxmox-headers-lowlatency-qoup-$(KVNAME) +PACKAGE=$(KNAME)-$(KVNAME) +HDRPACKAGE=$(HNAME)-$(KVNAME) ARCH=$(shell dpkg-architecture -qDEB_BUILD_ARCH) @@ -27,7 +29,7 @@ endif SKIPABI=0 -BUILD_DIR=proxmox-kernel-$(KERNEL_VER) +BUILD_DIR=$(KNAME)-$(KERNEL_VER) KERNEL_SRC=ubuntu-kernel KERNEL_SRC_SUBMODULE=submodules/$(KERNEL_SRC) @@ -42,13 +44,13 @@ MODULE_DIRS=$(ZFSDIR) # exported to debian/rules via debian/rules.d/dirs.mk DIRS=KERNEL_SRC ZFSDIR MODULES -DSC=proxmox-kernel-$(KERNEL_MAJMIN)_$(KERNEL_VER)-$(KREL).dsc +DSC=$(KNAME)-$(KERNEL_MAJMIN)_$(KERNEL_VER)-$(KREL).dsc DST_DEB=$(PACKAGE)_$(KERNEL_VER)-$(KREL)_$(ARCH).deb SIGNED_TEMPLATE_DEB=$(PACKAGE)-signed-template_$(KERNEL_VER)-$(KREL)_$(ARCH).deb -META_DEB=proxmox-kernel-$(KERNEL_MAJMIN)_$(KERNEL_VER)-$(KREL)_all.deb +META_DEB=$(KNAME)-$(KERNEL_MAJMIN)_$(KERNEL_VER)-$(KREL)_all.deb HDR_DEB=$(HDRPACKAGE)_$(KERNEL_VER)-$(KREL)_$(ARCH).deb -META_HDR_DEB=proxmox-headers-$(KERNEL_MAJMIN)_$(KERNEL_VER)-$(KREL)_all.deb -USR_HDR_DEB=proxmox-kernel-libc-dev_$(KERNEL_VER)-$(KREL)_$(ARCH).deb +META_HDR_DEB=$(HNAME)-$(KERNEL_MAJMIN)_$(KERNEL_VER)-$(KREL)_all.deb +USR_HDR_DEB=$(KNAME)-libc-dev_$(KERNEL_VER)-$(KREL)_$(ARCH).deb LINUX_TOOLS_DEB=linux-tools-$(KERNEL_MAJMIN)_$(KERNEL_VER)-$(KREL)_$(ARCH).deb LINUX_TOOLS_DBG_DEB=linux-tools-$(KERNEL_MAJMIN)-dbgsym_$(KERNEL_VER)-$(KREL)_$(ARCH).deb @@ -167,5 +169,5 @@ abi-tmp-$(KVNAME): .PHONY: clean clean: - rm -rf *~ proxmox-kernel-[0-9]*/ *.prepared $(KERNEL_CFG_ORG) - rm -f *.deb *.dsc *.changes *.buildinfo *.build proxmox-kernel*.tar.* + rm -rf *~ $(KNAME)-[0-9]*/ *.prepared $(KERNEL_CFG_ORG) + rm -f *.deb *.dsc *.changes *.buildinfo *.build $(KNAME)*.tar.*