]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blob - debian/rules.d/4-checks.mk
KVM: arm64: vgic-v3: Add ICV_IAR1_EL1 handler
[mirror_ubuntu-zesty-kernel.git] / debian / rules.d / 4-checks.mk
1 # Check ABI for package against last release (if not same abinum)
2 abi-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)
11 module-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
19 checks-%: module-check-% abi-check-%
20 @echo Debug: $@
21
22 # Check the config against the known options list.
23 config-prepare-check-%: $(stampdir)/stamp-prepare-tree-%
24 @echo Debug: $@
25 @perl -f $(DROOT)/scripts/config-check \
26 $(builddir)/build-$*/.config "$(arch)" "$*" "$(commonconfdir)" "$(skipconfig)"
27