UBUNTU: [Config] Add support for cross compiling armel
[linux-flexiantxendom0-natty.git] / debian / rules.d / 2-binary-arch.mk
index c66973d..9b9123b 100644 (file)
@@ -360,7 +360,7 @@ endif
 
 $(stampdir)/stamp-build-perarch: prepare-perarch
 ifeq ($(do_tools),true)
-       cd $(builddir)/tools-$*/tools/perf && make
+       cd $(builddir)/tools-$*/tools/perf && make $(CROSS_COMPILE)
 endif
        @touch $@