buildsys: use versioned build dir

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2023-05-20 17:31:38 +02:00
parent 19b148a675
commit 3fd27e5117

View File

@ -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