1
# Check ABI for package against last release (if not same abinum)
3
@# Empty for make to be happy
4
$(abidir)/%: $(stampdir)/stamp-build-%
6
sed -e 's/^\(.\+\)[[:space:]]\+\(.\+\)[[:space:]]\(.\+\)$$/\3 \2 \1/' \
7
$(builddir)/build-$*/Module.symvers | sort > $@
9
abi-check-%: $(abidir)/%
10
@perl -f $(DEBIAN)/scripts/abi-check "$*" "$(prev_abinum)" "$(abinum)" \
11
"$(prev_abidir)" "$(abidir)" "$(skipabi)"
13
# Check the module list against the last release (always)
14
module-%: $(abidir)/%.modules
15
@# Empty for make to be happy
16
$(abidir)/%.modules: $(stampdir)/stamp-build-%
18
find $(builddir)/build-$*/ -name \*.ko | \
19
sed -e 's/.*\/\([^\/]*\)\.ko/\1/' | sort > $@
21
module-check-%: $(abidir)/%.modules
22
@perl -f $(DEBIAN)/scripts/module-check "$*" \
23
"$(prev_abidir)" "$(abidir)" $(skipmodule)
25
checks-%: abi-check-% module-check-%
26
@# Will be calling more stuff later