Makefile clear
This commit is contained in:
parent
cd7c42fa58
commit
c86dd92986
20
Makefile
20
Makefile
@ -11,12 +11,10 @@ KREL=2
|
|||||||
KERNEL_MAJMIN=$(KERNEL_MAJ).$(KERNEL_MIN)
|
KERNEL_MAJMIN=$(KERNEL_MAJ).$(KERNEL_MIN)
|
||||||
KERNEL_VER=$(KERNEL_MAJMIN).$(KERNEL_PATCHLEVEL)
|
KERNEL_VER=$(KERNEL_MAJMIN).$(KERNEL_PATCHLEVEL)
|
||||||
|
|
||||||
KNAME=proxmox-kernel-lowlatency-qoup
|
|
||||||
HNAME=proxmox-headers-lowlatency-qoup
|
|
||||||
EXTRAVERSION=-$(KREL)-pve
|
EXTRAVERSION=-$(KREL)-pve
|
||||||
KVNAME=$(KERNEL_VER)$(EXTRAVERSION)
|
KVNAME=$(KERNEL_VER)$(EXTRAVERSION)
|
||||||
PACKAGE=$(KNAME)-$(KVNAME)
|
PACKAGE=proxmox-kernel-$(KVNAME)
|
||||||
HDRPACKAGE=$(HNAME)-$(KVNAME)
|
HDRPACKAGE=proxmox-headers-$(KVNAME)
|
||||||
|
|
||||||
ARCH=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
|
ARCH=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
|
||||||
|
|
||||||
@ -29,7 +27,7 @@ endif
|
|||||||
|
|
||||||
SKIPABI=0
|
SKIPABI=0
|
||||||
|
|
||||||
BUILD_DIR=$(KNAME)-$(KERNEL_VER)
|
BUILD_DIR=proxmox-kernel-$(KERNEL_VER)
|
||||||
|
|
||||||
KERNEL_SRC=ubuntu-kernel
|
KERNEL_SRC=ubuntu-kernel
|
||||||
KERNEL_SRC_SUBMODULE=submodules/$(KERNEL_SRC)
|
KERNEL_SRC_SUBMODULE=submodules/$(KERNEL_SRC)
|
||||||
@ -44,13 +42,13 @@ MODULE_DIRS=$(ZFSDIR)
|
|||||||
# exported to debian/rules via debian/rules.d/dirs.mk
|
# exported to debian/rules via debian/rules.d/dirs.mk
|
||||||
DIRS=KERNEL_SRC ZFSDIR MODULES
|
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
|
DST_DEB=$(PACKAGE)_$(KERNEL_VER)-$(KREL)_$(ARCH).deb
|
||||||
SIGNED_TEMPLATE_DEB=$(PACKAGE)-signed-template_$(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
|
HDR_DEB=$(HDRPACKAGE)_$(KERNEL_VER)-$(KREL)_$(ARCH).deb
|
||||||
META_HDR_DEB=$(HNAME)-$(KERNEL_MAJMIN)_$(KERNEL_VER)-$(KREL)_all.deb
|
META_HDR_DEB=proxmox-headers-$(KERNEL_MAJMIN)_$(KERNEL_VER)-$(KREL)_all.deb
|
||||||
USR_HDR_DEB=$(KNAME)-libc-dev_$(KERNEL_VER)-$(KREL)_$(ARCH).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_DEB=linux-tools-$(KERNEL_MAJMIN)_$(KERNEL_VER)-$(KREL)_$(ARCH).deb
|
||||||
LINUX_TOOLS_DBG_DEB=linux-tools-$(KERNEL_MAJMIN)-dbgsym_$(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
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
rm -rf *~ $(KNAME)-[0-9]*/ *.prepared $(KERNEL_CFG_ORG)
|
rm -rf *~ proxmox-kernel-[0-9]*/ *.prepared $(KERNEL_CFG_ORG)
|
||||||
rm -f *.deb *.dsc *.changes *.buildinfo *.build $(KNAME)*.tar.*
|
rm -f *.deb *.dsc *.changes *.buildinfo *.build proxmox-kernel*.tar.*
|
||||||
|
Loading…
Reference in New Issue
Block a user