blob: d48c05d6260d84b17ac5a20f61bb82cc28788402 [file] [log] [blame] [edit]
# Check ABI for package against last release (if not same abinum)
abi-%: $(abidir)/%
@# Empty for make to be happy
$(abidir)/%: $(stampdir)/stamp-build-%
install -d $(abidir)
sed -e 's/^\(.\+\)[[:space:]]\+\(.\+\)[[:space:]]\(.\+\)$$/\3 \2 \1/' \
$(builddir)/build-$*/Module.symvers | sort > $@
abi-check-%: $(abidir)/%
@perl -f $(DROOT)/scripts/abi-check "$*" "$(prev_abinum)" "$(abinum)" \
"$(prev_abidir)" "$(abidir)" "$(skipabi)"
# Check the module list against the last release (always)
module-%: $(abidir)/%.modules
@# Empty for make to be happy
$(abidir)/%.modules: $(stampdir)/stamp-build-%
install -d $(abidir)
find $(builddir)/build-$*/ -name \*.ko | \
sed -e 's/.*\/\([^\/]*\)\.ko/\1/' | sort > $@
module-check-%: $(abidir)/%.modules
@perl -f $(DROOT)/scripts/module-check "$*" \
"$(prev_abidir)" "$(abidir)" $(skipmodule)
checks-%: abi-check-% module-check-%
@# Will be calling more stuff later
# Check the config against the known options list.
config-prepare-check-%: $(stampdir)/stamp-prepare-tree-%
@perl -f $(DROOT)/scripts/config-check \
$(builddir)/build-$*/.config "$(arch)" "$*" "$(sharedconfdir)" "$(skipconfig)"
prepare-checks-%: config-prepare-check-%
@# Will be calling more stuff later