1 # Check ABI for package against last release (if not same abinum)
2 $(abidir)/%: $(stampdir)/stamp-build-%
4 sed -e 's/^\(.\+\)[[:space:]]\+\(.\+\)[[:space:]]\(.\+\)$$/\3 \2 \1/' \
5 $(builddir)/build-$*/Module.symvers | sort > $@
7 abi-check-%: $(abidir)/%
8 @perl -f $(DROOT)/scripts/abi-check "$*" "$(prev_abinum)" "$(abinum)" \
9 "$(prev_abidir)" "$(abidir)" "$(skipabi)"
11 # Check the module list against the last release (always)
12 $(abidir)/%.modules: abi-check-%
14 find $(builddir)/build-$*/ -name \*.ko | \
15 sed -e 's/.*\/\([^\/]*\)\.ko/\1/' | sort > $@
17 module-check-%: $(abidir)/%.modules
18 @perl -f $(DROOT)/scripts/module-check "$*" \
19 "$(prev_abidir)" "$(abidir)" $(skipmodule)
21 checks-%: module-check-%
22 @# Will be calling more stuff later
24 # Check the config against the known options list.
25 config-prepare-check-%: $(stampdir)/stamp-prepare-tree-%
26 @perl -f $(DROOT)/scripts/config-check \
27 $(builddir)/build-$*/.config "$(arch)" "$*" "$(sharedconfdir)" "$(skipconfig)"
29 prepare-checks-%: config-prepare-check-%
30 @# Will be calling more stuff later