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 $(DROOT)/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 $(DROOT)/scripts/module-check "$*" \
23 "$(prev_abidir)" "$(abidir)" $(skipmodule)
25 checks-%: abi-check-% module-check-%
26 @# Will be calling more stuff later
28 # Check the config against the known options list.
29 config-prepare-check-%: $(stampdir)/stamp-prepare-tree-%
30 @perl -f $(DROOT)/scripts/config-check \
31 $(builddir)/build-$*/.config "$(arch)" "$*" "$(sharedconfdir)" "$(skipconfig)"
33 prepare-checks-%: config-prepare-check-%
34 @# Will be calling more stuff later