Update Makefile
This commit is contained in:
parent
35541e70bd
commit
1ad8b7f56f
20
Makefile
20
Makefile
@ -11,10 +11,12 @@ KREL=2
|
||||
KERNEL_MAJMIN=$(KERNEL_MAJ).$(KERNEL_MIN)
|
||||
KERNEL_VER=$(KERNEL_MAJMIN).$(KERNEL_PATCHLEVEL)
|
||||
|
||||
KNAME=proxmox-kernel-qoup
|
||||
HNAME=proxmox-headers-qoup
|
||||
EXTRAVERSION=-$(KREL)-pve
|
||||
KVNAME=$(KERNEL_VER)$(EXTRAVERSION)
|
||||
PACKAGE=proxmox-kernel-qoup-$(KVNAME)
|
||||
HDRPACKAGE=proxmox-headers-qoup-$(KVNAME)
|
||||
PACKAGE=$(KNAME)-$(KVNAME)
|
||||
HDRPACKAGE=$(HNAME)-qoup-$(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.*
|
||||
|
Loading…
Reference in New Issue
Block a user