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:
committed by
Thomas Lamprecht
parent
faa3d7515d
commit
40af2e3b0f
Vendored
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user