[kernel] r22772 - dists/trunk/linux-tools/debian

Bastian Blank waldi at moszumanska.debian.org
Sun Jun 28 19:00:39 UTC 2015


Author: waldi
Date: Sun Jun 28 19:00:39 2015
New Revision: 22772

Log:
Use dpkg provided make-snippets

Modified:
   dists/trunk/linux-tools/debian/rules
   dists/trunk/linux-tools/debian/rules.defs
   dists/trunk/linux-tools/debian/rules.real

Modified: dists/trunk/linux-tools/debian/rules
==============================================================================
--- dists/trunk/linux-tools/debian/rules	Sun Jun 28 18:48:45 2015	(r22771)
+++ dists/trunk/linux-tools/debian/rules	Sun Jun 28 19:00:39 2015	(r22772)
@@ -1,8 +1,6 @@
 #!/usr/bin/make -f
 
 SHELL    := sh -e
-DEB_HOST_ARCH  := $(shell dpkg-architecture -qDEB_HOST_ARCH)
-DEB_BUILD_ARCH := $(shell dpkg-architecture -qDEB_BUILD_ARCH)
 SOURCE   := $(shell dpkg-parsechangelog | sed -ne 's,^Source: *\(.*\)$$,\1,p')
 VERSION_DEBIAN := $(shell dpkg-parsechangelog | sed -ne 's,^Version: *\(.*\)$$,\1,p')
 VERSION  := $(shell echo "$(VERSION_DEBIAN)" | sed -e 's,-[^-]*$$,,')

Modified: dists/trunk/linux-tools/debian/rules.defs
==============================================================================
--- dists/trunk/linux-tools/debian/rules.defs	Sun Jun 28 18:48:45 2015	(r22771)
+++ dists/trunk/linux-tools/debian/rules.defs	Sun Jun 28 19:00:39 2015	(r22772)
@@ -1,4 +1,5 @@
+include /usr/share/dpkg/default.mk
+
 BUILD_DIR = debian/build
 STAMPS_DIR = debian/stamps
 TEMPLATES_DIR = debian/templates
-

Modified: dists/trunk/linux-tools/debian/rules.real
==============================================================================
--- dists/trunk/linux-tools/debian/rules.real	Sun Jun 28 18:48:45 2015	(r22771)
+++ dists/trunk/linux-tools/debian/rules.real	Sun Jun 28 19:00:39 2015	(r22772)
@@ -2,8 +2,6 @@
 
 include debian/rules.defs
 
-DEB_BUILD_ARCH := $(shell dpkg-architecture -qDEB_BUILD_ARCH)
-
 # VERSION_DEBIAN is the package source version; VERSION_DEBIAN_FULL
 # includes any binNMU part.
 VERSION_DEBIAN_FULL := $(shell dpkg-parsechangelog | sed -ne 's,^Version: *\(.*\)$$,\1,p')



More information about the Kernel-svn-changes mailing list