d/scripts/abi-generate: add new helper script
and use it in d/rules to generate the checked ABI file. Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
parent
faa3d7515d
commit
40af2e3b0f
2 changed files with 38 additions and 1 deletions
2
debian/rules
vendored
2
debian/rules
vendored
|
@ -205,7 +205,7 @@ fwcheck: fwlist-${KVNAME} fwlist-previous
|
|||
|
||||
|
||||
abi-${KVNAME}: .compile_mark
|
||||
sed -e 's/^\(.\+\)[[:space:]]\+\(.\+\)[[:space:]]\(.\+\)$$/\3 \2 \1/' debian/${PVE_HEADER_PKG}/usr/src/linux-headers-${KVNAME}/Module.symvers | sort > abi-${KVNAME}
|
||||
debian/scripts/abi-generate debian/${PVE_HEADER_PKG}/usr/src/linux-headers-${KVNAME}/Module.symvers abi-${KVNAME} ${KVNAME}
|
||||
|
||||
.PHONY: abicheck
|
||||
abicheck: debian/scripts/abi-check abi-${KVNAME} abi-previous abi-blacklist
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue