Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(641)

Unified Diff: debian.chrome/rules.d/4-checks.mk

Issue 646032: Rename config to match naming convention. (Closed)
Patch Set: Send mail Created 10 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « debian.chrome/rules.d/3-binary-indep.mk ('k') | debian.chrome/rules.d/5-udebs.mk » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « debian.chrome/rules.d/3-binary-indep.mk ('k') | debian.chrome/rules.d/5-udebs.mk » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698