summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMischa Jonker <mischa.jonker@synopsys.com>2013-09-04 19:02:10 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2013-09-06 21:54:44 (GMT)
commite2fa8eb91c70ec084ba72c5b1f2ca180257b9441 (patch)
treefb9e0f89f4b5a2688db94de3ceb7e36839c59009
parent3e2d828c0a5c69a4b2929f330426d93e47ec5d25 (diff)
downloadbuildroot-e2fa8eb91c70ec084ba72c5b1f2ca180257b9441.tar.gz
buildroot-e2fa8eb91c70ec084ba72c5b1f2ca180257b9441.tar.bz2
perf: Add host-bison, host-flex dependencies
Signed-off-by: Mischa Jonker <mjonker@synopsys.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Tested-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/perf/perf.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/perf/perf.mk b/package/perf/perf.mk
index 7787c78..120353f 100644
--- a/package/perf/perf.mk
+++ b/package/perf/perf.mk
@@ -8,7 +8,7 @@
PERF_SOURCE =
PERF_VERSION = $(call qstrip,$(BR2_LINUX_KERNEL_VERSION))
-PERF_DEPENDENCIES = linux
+PERF_DEPENDENCIES = linux host-flex host-bison
PERF_MAKE_FLAGS = \
$(LINUX_MAKE_FLAGS) \
@@ -40,14 +40,14 @@ define PERF_BUILD_CMDS
exit 1 ; \
fi \
fi
- $(MAKE) -C $(LINUX_DIR)/tools/perf \
+ $(TARGET_MAKE_ENV) $(MAKE) -C $(LINUX_DIR)/tools/perf \
$(PERF_MAKE_FLAGS) O=$(@D)
endef
# After installation, we remove the Perl and Python scripts from the
# target.
define PERF_INSTALL_TARGET_CMDS
- $(MAKE) -C $(LINUX_DIR)/tools/perf \
+ $(TARGET_MAKE_ENV) $(MAKE) -C $(LINUX_DIR)/tools/perf \
$(PERF_MAKE_FLAGS) O=$(@D) install
$(RM) -rf $(TARGET_DIR)/usr/libexec/perf-core/scripts/
endef