Skip to contentSkip to conversation

perf: Add host-bison, host-flex dependencies

PATCH Superseded Mischa Jonker 2 participants 2 messages Sep 4, 2013

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 perf: Add host-bison, host-flex dependencies

---
 package/perf/perf.mk |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
package/perf/perf.mk +2 -2
index 7787c78..004541e 100644
@@ -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
 
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/1 perf: Add host-bison, host-flex dependencies

Quoted 19 lines · Mischa Jonker
---
  package/perf/perf.mk |    4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
package/perf/perf.mk +1 -1
index 7787c78..004541e 100644
@@ -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) \

package/perf/perf.mk define PERF_BUILD_CMDS · line 43

Quoted 5 lines
package/perf/perf.mk +1 -1
@@ -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

Quoted 4 lines
package/perf/perf.mk +0 -0
  		$(PERF_MAKE_FLAGS) O=$(@D)
  endef
 
Signature · 6 lines
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F