Patchwork perf: Add host-bison, host-flex dependencies

login
register
mail settings
Submitter Mischa Jonker
Date Sept. 4, 2013, 12:36 p.m.
Message ID <1378298187-5058-1-git-send-email-mjonker@synopsys.com>
Download mbox | patch
Permalink /patch/272589/
State Superseded
Headers show

Comments

Mischa Jonker - Sept. 4, 2013, 12:36 p.m.
Signed-off-by: Mischa Jonker <mjonker@synopsys.com>
---
 package/perf/perf.mk |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Arnout Vandecappelle - Sept. 4, 2013, 4:21 p.m.
On 09/04/13 14:36, Mischa Jonker wrote:
> Signed-off-by: Mischa Jonker <mjonker@synopsys.com>
> ---
>   package/perf/perf.mk |    4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/package/perf/perf.mk b/package/perf/perf.mk
> index 7787c78..004541e 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,7 +40,7 @@ define PERF_BUILD_CMDS
>   			exit 1 ; \
>   		fi \
>   	fi
> -	$(MAKE) -C $(LINUX_DIR)/tools/perf \
> +	$(HOST_MAKE_ENV) $(MAKE) -C $(LINUX_DIR)/tools/perf \

  TARGET_MAKE_ENV seems more appropriate...

  Regards,
  Arnout

>   		$(PERF_MAKE_FLAGS) O=$(@D)
>   endef
>
>

Patch

diff --git a/package/perf/perf.mk b/package/perf/perf.mk
index 7787c78..004541e 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,7 +40,7 @@  define PERF_BUILD_CMDS
 			exit 1 ; \
 		fi \
 	fi
-	$(MAKE) -C $(LINUX_DIR)/tools/perf \
+	$(HOST_MAKE_ENV) $(MAKE) -C $(LINUX_DIR)/tools/perf \
 		$(PERF_MAKE_FLAGS) O=$(@D)
 endef