From 41f5ee9802a85dcd0f2601fba68d9801088a0c6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= Date: Fri, 24 Mar 2017 12:48:43 +0100 Subject: [PATCH] buildsys: add abicheck to build --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d463982..4d5ba04 100644 --- a/Makefile +++ b/Makefile @@ -19,6 +19,8 @@ ARCH=amd64 GITVERSION:=$(shell cat .git/refs/heads/master) CHANGELOG_DATE:=$(shell dpkg-parsechangelog -SDate -lchangelog.Debian) +SKIPABI=0 + TOP=$(shell pwd) KERNEL_CFG_ORG=config-${KERNEL_VER}.org @@ -123,7 +125,7 @@ else $(CC) --version|grep "6\.3" || false 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 sed -e 's/@KERNEL_VER@/${KERNEL_VER}/' -e 's/@KVNAME@/${KVNAME}/' -e 's/@PKGREL@/${PKGREL}/' data/DEBIAN/control sed -e 's/@@KVNAME@@/${KVNAME}/g' data/DEBIAN/prerm @@ -168,6 +170,9 @@ fwcheck: fwlist-${KVNAME} fwlist-previous abi-${KVNAME}: .compile_mark 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} rm -rf data tmp; mkdir -p tmp/lib/modules/${KVNAME} mkdir tmp/boot