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

Ben Hutchings benh at moszumanska.debian.org
Tue Jul 29 18:56:18 UTC 2014


Author: benh
Date: Tue Jul 29 18:56:18 2014
New Revision: 21644

Log:
perf: Change build command to avoid a rebuild during 'make install'

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

Modified: dists/trunk/linux-tools/debian/changelog
==============================================================================
--- dists/trunk/linux-tools/debian/changelog	Tue Jul 29 18:53:26 2014	(r21643)
+++ dists/trunk/linux-tools/debian/changelog	Tue Jul 29 18:56:18 2014	(r21644)
@@ -7,6 +7,7 @@
   * debian/control: Update Build-Depends for usbip switching from
     libsysfs to libudev
   * perf: Build with V=1 as V=2 no longer works
+  * perf: Change build command to avoid a rebuild during 'make install'
 
  -- Ben Hutchings <ben at decadent.org.uk>  Tue, 29 Jul 2014 18:08:55 +0100
 

Modified: dists/trunk/linux-tools/debian/rules.real
==============================================================================
--- dists/trunk/linux-tools/debian/rules.real	Tue Jul 29 18:53:26 2014	(r21643)
+++ dists/trunk/linux-tools/debian/rules.real	Tue Jul 29 18:56:18 2014	(r21644)
@@ -43,7 +43,10 @@
 	dh_builddeb
 
 build-tools:
-	$(MAKE) -C $(BUILD_DIR)/tools top_srcdir=$(CURDIR)
+# perf changes some default directories depending on whether DESTDIR is
+# set.  We must define it even when building to avoid a rebuild when we
+# run 'make install'.
+	$(MAKE) -C $(BUILD_DIR)/tools top_srcdir=$(CURDIR) DESTDIR=dummy
 
 install-tools: PACKAGE_NAME = linux-tools-$(VERSION)
 install-tools: DH_OPTIONS = -p$(PACKAGE_NAME)



More information about the Kernel-svn-changes mailing list