diff --git a/debian/changelog b/debian/changelog index 5bc74f359..820643320 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Tue, 29 Jul 2014 18:08:55 +0100 diff --git a/debian/rules.real b/debian/rules.real index dcdae6c87..76bd1265f 100644 --- a/debian/rules.real +++ b/debian/rules.real @@ -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)