From c86dd9298681bc71e7e74deccb99d2a0a9433d1d Mon Sep 17 00:00:00 2001 From: Gregory Lirent Date: Tue, 2 Jul 2024 15:36:10 +0300 Subject: [PATCH] Makefile clear --- Makefile | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/Makefile b/Makefile index f538bcf..b74bcd3 100644 --- a/Makefile +++ b/Makefile @@ -11,12 +11,10 @@ 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=$(KNAME)-$(KVNAME) -HDRPACKAGE=$(HNAME)-$(KVNAME) +PACKAGE=proxmox-kernel-$(KVNAME) +HDRPACKAGE=proxmox-headers-$(KVNAME) ARCH=$(shell dpkg-architecture -qDEB_BUILD_ARCH) @@ -29,7 +27,7 @@ endif SKIPABI=0 -BUILD_DIR=$(KNAME)-$(KERNEL_VER) +BUILD_DIR=proxmox-kernel-$(KERNEL_VER) KERNEL_SRC=ubuntu-kernel KERNEL_SRC_SUBMODULE=submodules/$(KERNEL_SRC) @@ -44,13 +42,13 @@ MODULE_DIRS=$(ZFSDIR) # exported to debian/rules via debian/rules.d/dirs.mk DIRS=KERNEL_SRC ZFSDIR MODULES -DSC=$(KNAME)-$(KERNEL_MAJMIN)_$(KERNEL_VER)-$(KREL).dsc +DSC=proxmox-kernel-$(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=$(KNAME)-$(KERNEL_MAJMIN)_$(KERNEL_VER)-$(KREL)_all.deb +META_DEB=proxmox-kernel-$(KERNEL_MAJMIN)_$(KERNEL_VER)-$(KREL)_all.deb HDR_DEB=$(HDRPACKAGE)_$(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 +META_HDR_DEB=proxmox-headers-$(KERNEL_MAJMIN)_$(KERNEL_VER)-$(KREL)_all.deb +USR_HDR_DEB=proxmox-kernel-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 @@ -169,5 +167,5 @@ abi-tmp-$(KVNAME): .PHONY: clean clean: - rm -rf *~ $(KNAME)-[0-9]*/ *.prepared $(KERNEL_CFG_ORG) - rm -f *.deb *.dsc *.changes *.buildinfo *.build $(KNAME)*.tar.* + rm -rf *~ proxmox-kernel-[0-9]*/ *.prepared $(KERNEL_CFG_ORG) + rm -f *.deb *.dsc *.changes *.buildinfo *.build proxmox-kernel*.tar.*