aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Rigby <john.rigby@linaro.org>2011-09-12 13:17:28 -0600
committerJohn Rigby <john.rigby@linaro.org>2011-09-23 09:00:55 -0600
commitd14e7dd636f1b7f4b471ec80db0995a8fa2d42cd (patch)
treefda7d2f652fe398891c091fd18a0fb2f5a45b901
parent00559bee5b7bf1ee445fa25a9baba26c0d303eae (diff)
downloadlinux-linaro-d14e7dd636f1b7f4b471ec80db0995a8fa2d42cd.tar.gz
LINARO: fix cross compiling of tools
Signed-off-by: John Rigby <john.rigby@linaro.org>
-rw-r--r--debian/rules.d/2-binary-arch.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/rules.d/2-binary-arch.mk b/debian/rules.d/2-binary-arch.mk
index 8741d610e0b..86aeb695b2f 100644
--- a/debian/rules.d/2-binary-arch.mk
+++ b/debian/rules.d/2-binary-arch.mk
@@ -373,7 +373,7 @@ 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); \