Add release information to build
This commit is contained in:
parent
bd2f30a978
commit
af66b6b47f
1 changed files with 6 additions and 1 deletions
7
Makefile
7
Makefile
|
@ -63,9 +63,14 @@ LINUX_TOOLS_DEB=linux-tools-$(KERNEL_MAJMIN)_${KERNEL_VER}-${PKGREL}_${ARCH}.deb
|
||||||
|
|
||||||
DEBS=${DST_DEB} ${HDR_DEB} ${LINUX_TOOLS_DEB}
|
DEBS=${DST_DEB} ${HDR_DEB} ${LINUX_TOOLS_DEB}
|
||||||
|
|
||||||
all: deb
|
all: deb release.txt
|
||||||
deb: ${DEBS}
|
deb: ${DEBS}
|
||||||
|
|
||||||
|
release.txt:
|
||||||
|
echo "${KVNAME}" > release.txt
|
||||||
|
echo "${PVE_BUILD_FLAVOR}" >> release.txt
|
||||||
|
echo "${PVE_BUILD_TYPE}" >> release.txt
|
||||||
|
|
||||||
${LINUX_TOOLS_DEB} ${HDR_DEB}: ${DST_DEB}
|
${LINUX_TOOLS_DEB} ${HDR_DEB}: ${DST_DEB}
|
||||||
${DST_DEB}: ${BUILD_DIR}.prepared
|
${DST_DEB}: ${BUILD_DIR}.prepared
|
||||||
cd ${BUILD_DIR}; dpkg-buildpackage --jobs=auto -b -uc -us
|
cd ${BUILD_DIR}; dpkg-buildpackage --jobs=auto -b -uc -us
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue