]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blame - debian/rules.d/4-checks.mk
net: pending_confirm is not used anymore
[mirror_ubuntu-zesty-kernel.git] / debian / rules.d / 4-checks.mk
CommitLineData
356bd1e1
LO
1# Check ABI for package against last release (if not same abinum)
2abi-check-%: $(stampdir)/stamp-build-%
3 @echo Debug: $@
4 install -d $(abidir)
5 sed -e 's/^\(.\+\)[[:space:]]\+\(.\+\)[[:space:]]\(.\+\)$$/\3 \2 \1/' \
6 $(builddir)/build-$*/Module.symvers | sort > $(abidir)/$*
7 @perl -f $(DROOT)/scripts/abi-check "$*" "$(prev_abinum)" "$(abinum)" \
8 "$(prev_abidir)" "$(abidir)" "$(skipabi)"
9
10# Check the module list against the last release (always)
11module-check-%: $(stampdir)/stamp-build-%
12 @echo Debug: $@
13 install -d $(abidir)
14 find $(builddir)/build-$*/ -name \*.ko | \
15 sed -e 's/.*\/\([^\/]*\)\.ko/\1/' | sort > $(abidir)/$*.modules
16 @perl -f $(DROOT)/scripts/module-check "$*" \
17 "$(prev_abidir)" "$(abidir)" $(skipmodule)
18
19checks-%: module-check-% abi-check-%
20 @echo Debug: $@
21
22# Check the config against the known options list.
23config-prepare-check-%: $(stampdir)/stamp-prepare-tree-%
24 @echo Debug: $@
25 @perl -f $(DROOT)/scripts/config-check \
aa86f2d0 26 $(builddir)/build-$*/.config "$(arch)" "$*" "$(commonconfdir)" "$(skipconfig)"
356bd1e1 27