]> git.proxmox.com Git - pve-kernel.git/commitdiff
buildsys: use versioned build dir
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 20 May 2023 15:31:38 +0000 (17:31 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 20 May 2023 17:25:13 +0000 (19:25 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile

index 6481f946ccf35a8554ddf5eeae8c924b6f619460..263ca5b85ffecfa2485377a0296ca3c5890b0b5e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -29,7 +29,7 @@ GITVERSION:=$(shell git rev-parse HEAD)
 
 SKIPABI=0
 
-BUILD_DIR=build
+BUILD_DIR=pve-kernel-$(KERNEL_VER)
 
 KERNEL_SRC=ubuntu-kernel
 KERNEL_SRC_SUBMODULE=submodules/$(KERNEL_SRC)
@@ -143,5 +143,5 @@ abi-tmp-$(KVNAME):
 
 .PHONY: clean
 clean:
-       rm -rf *~ build *.prepared $(KERNEL_CFG_ORG)
+       rm -rf *~ $(PACKAGE)*/ *.prepared $(KERNEL_CFG_ORG)
        rm -f *.deb *.changes *.buildinfo