FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Kernel Team

 
 
LinkBack Thread Tools
 
Old 03-16-2012, 06:19 PM
Tim Gardner
 
Default correctly specify CROSS_COMPILE for tools build

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
---
debian/rules.d/2-binary-arch.mk | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/rules.d/2-binary-arch.mk b/debian/rules.d/2-binary-arch.mk
index 3ccac7c..52b2e57 100644
--- a/debian/rules.d/2-binary-arch.mk
+++ b/debian/rules.d/2-binary-arch.mk
@@ -397,10 +397,10 @@ endif
$(stampdir)/stamp-build-perarch: $(stampdir)/stamp-prepare-perarch
ifeq ($(do_tools),true)
cd $(builddir)/tools/tools/perf &&
- make HAVE_CPLUS_DEMANGLE=1 $(CROSS_COMPILE) $(conc_level)
+ make HAVE_CPLUS_DEMANGLE=1 CROSS_COMPILE=$(CROSS_COMPILE) $(conc_level)
if [ "$(arch)" = "amd64" ] || [ "$(arch)" = "i386" ]; then
- cd $(builddir)/tools/tools/power/x86/x86_energy_perf_policy && make $(CROSS_COMPILE);
- cd $(builddir)/tools/tools/power/x86/turbostat && make $(CROSS_COMPILE);
+ cd $(builddir)/tools/tools/power/x86/x86_energy_perf_policy && make CROSS_COMPILE=$(CROSS_COMPILE);
+ cd $(builddir)/tools/tools/power/x86/turbostat && make CROSS_COMPILE=$(CROSS_COMPILE);
fi
endif
@touch $@
--
1.7.9.1


--------------030007070207080808080406
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team

--------------030007070207080808080406--
 

Thread Tools




All times are GMT. The time now is 02:23 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org