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

svn path=/dists/trunk/linux-tools/; revision=21644
This commit is contained in:
Ben Hutchings 2014-07-29 18:56:18 +00:00
parent 465ef86f0a
commit d72e351ea7
2 changed files with 5 additions and 1 deletions

1
debian/changelog vendored
View File

@ -7,6 +7,7 @@ linux-tools (3.16~rc7-1) UNRELEASED; urgency=medium
* 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@decadent.org.uk> Tue, 29 Jul 2014 18:08:55 +0100

5
debian/rules.real vendored
View File

@ -43,7 +43,10 @@ install-kbuild: $(STAMPS_DIR)/build
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)