From: Mischa Jonker Date: Wed, 4 Sep 2013 19:02:10 +0000 (+0200) Subject: perf: Add host-bison, host-flex dependencies X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e2fa8eb91c70ec084ba72c5b1f2ca180257b9441;p=buildroot.git perf: Add host-bison, host-flex dependencies Signed-off-by: Mischa Jonker Acked-by: Thomas Petazzoni Tested-by: Thomas De Schampheleire Signed-off-by: Peter Korsgaard --- diff --git a/package/perf/perf.mk b/package/perf/perf.mk index 7787c787a1..120353f8e3 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