2021-04-18 17:30:23 +00:00
|
|
|
## Kernel information
|
|
|
|
KERNEL_MAJMIN=$(shell ./scripts/version.sh -n)
|
|
|
|
KERNEL_VER=$(shell ./scripts/version.sh -L)
|
|
|
|
|
|
|
|
## Debian package information
|
2021-11-28 13:10:53 +00:00
|
|
|
PKG_DISTRIBUTOR ?= PVE Edge
|
|
|
|
PKG_RELEASE = $(shell ./scripts/version.sh -r)
|
|
|
|
PKG_DATE := $(shell dpkg-parsechangelog -SDate)
|
|
|
|
PKG_DATE_UTC_ISO := $(shell date -u -d '$(PKG_DATE)' +%Y-%m-%d)
|
|
|
|
PKG_GIT_VERSION := $(shell git rev-parse HEAD)
|
2021-04-18 17:30:23 +00:00
|
|
|
|
|
|
|
# Build settings
|
2021-04-18 17:55:44 +00:00
|
|
|
PVE_KERNEL_CC ?= ${CC}
|
|
|
|
PVE_ZFS_CC ?= ${CC}
|
2021-04-18 17:30:23 +00:00
|
|
|
|
|
|
|
### Debian package names
|
2021-11-28 13:10:53 +00:00
|
|
|
EXTRAVERSION=-edge
|
2021-04-18 17:30:23 +00:00
|
|
|
KVNAME=${KERNEL_VER}${EXTRAVERSION}
|
|
|
|
|
|
|
|
PVE_KERNEL_PKG=pve-kernel-${KVNAME}
|
|
|
|
PVE_HEADER_PKG=pve-headers-${KVNAME}
|
|
|
|
PVE_USR_HEADER_PKG=pve-kernel-libc-dev
|
|
|
|
LINUX_TOOLS_PKG=linux-tools-${KERNEL_MAJMIN}
|