| Index: debian.chrome/rules.d/4-checks.mk
|
| diff --git a/debian.chrome/rules.d/4-checks.mk b/debian.chrome/rules.d/4-checks.mk
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..778984cea7c1c4b1aa3c672118bf9959d14096c0
|
| --- /dev/null
|
| +++ b/debian.chrome/rules.d/4-checks.mk
|
| @@ -0,0 +1,26 @@
|
| +# 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 $(DEBIAN)/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 $(DEBIAN)/scripts/module-check "$*" \
|
| + "$(prev_abidir)" "$(abidir)" $(skipmodule)
|
| +
|
| +checks-%: abi-check-% module-check-%
|
| + @# Will be calling more stuff later
|
|
|