mirror of
https://git.proxmox.com/git/pve-kernel
synced 2025-04-28 20:28:22 +00:00
buildsys: add abicheck to build
This commit is contained in:
parent
9bdcd71386
commit
41f5ee9802
7
Makefile
7
Makefile
@ -19,6 +19,8 @@ ARCH=amd64
|
|||||||
GITVERSION:=$(shell cat .git/refs/heads/master)
|
GITVERSION:=$(shell cat .git/refs/heads/master)
|
||||||
CHANGELOG_DATE:=$(shell dpkg-parsechangelog -SDate -lchangelog.Debian)
|
CHANGELOG_DATE:=$(shell dpkg-parsechangelog -SDate -lchangelog.Debian)
|
||||||
|
|
||||||
|
SKIPABI=0
|
||||||
|
|
||||||
TOP=$(shell pwd)
|
TOP=$(shell pwd)
|
||||||
|
|
||||||
KERNEL_CFG_ORG=config-${KERNEL_VER}.org
|
KERNEL_CFG_ORG=config-${KERNEL_VER}.org
|
||||||
@ -123,7 +125,7 @@ else
|
|||||||
$(CC) --version|grep "6\.3" || false
|
$(CC) --version|grep "6\.3" || false
|
||||||
endif
|
endif
|
||||||
|
|
||||||
${DST_DEB}: data control.in prerm.in postinst.in postrm.in copyright changelog.Debian fwcheck
|
${DST_DEB}: data control.in prerm.in postinst.in postrm.in copyright changelog.Debian fwcheck abicheck
|
||||||
mkdir -p data/DEBIAN
|
mkdir -p data/DEBIAN
|
||||||
sed -e 's/@KERNEL_VER@/${KERNEL_VER}/' -e 's/@KVNAME@/${KVNAME}/' -e 's/@PKGREL@/${PKGREL}/' <control.in >data/DEBIAN/control
|
sed -e 's/@KERNEL_VER@/${KERNEL_VER}/' -e 's/@KVNAME@/${KVNAME}/' -e 's/@PKGREL@/${PKGREL}/' <control.in >data/DEBIAN/control
|
||||||
sed -e 's/@@KVNAME@@/${KVNAME}/g' <prerm.in >data/DEBIAN/prerm
|
sed -e 's/@@KVNAME@@/${KVNAME}/g' <prerm.in >data/DEBIAN/prerm
|
||||||
@ -168,6 +170,9 @@ fwcheck: fwlist-${KVNAME} fwlist-previous
|
|||||||
abi-${KVNAME}: .compile_mark
|
abi-${KVNAME}: .compile_mark
|
||||||
sed -e 's/^\(.\+\)[[:space:]]\+\(.\+\)[[:space:]]\(.\+\)$$/\3 \2 \1/' ${KERNEL_SRC}/Module.symvers | sort > abi-${KVNAME}
|
sed -e 's/^\(.\+\)[[:space:]]\+\(.\+\)[[:space:]]\(.\+\)$$/\3 \2 \1/' ${KERNEL_SRC}/Module.symvers | sort > abi-${KVNAME}
|
||||||
|
|
||||||
|
abicheck: abi-${KVNAME} abi-current abi-blacklist
|
||||||
|
./abi-check abi-${KVNAME} abi-current ${SKIPABI}
|
||||||
|
|
||||||
data: .compile_mark igb.ko ixgbe.ko e1000e.ko ${SPL_MODULES} ${ZFS_MODULES}
|
data: .compile_mark igb.ko ixgbe.ko e1000e.ko ${SPL_MODULES} ${ZFS_MODULES}
|
||||||
rm -rf data tmp; mkdir -p tmp/lib/modules/${KVNAME}
|
rm -rf data tmp; mkdir -p tmp/lib/modules/${KVNAME}
|
||||||
mkdir tmp/boot
|
mkdir tmp/boot
|
||||||
|
Loading…
Reference in New Issue
Block a user