Skip to contentSkip to conversation

perf: Add host-bison, host-flex dependencies

PATCH New Mischa Jonker 4 participants 4 messages Sep 4, 2013 – Sep 7, 2013

lore
Share & tools
lore
#0 lore raw

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

---
 package/perf/perf.mk |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
package/perf/perf.mk +3 -3
index 7787c78..120353f 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,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
Signature · 1 line
1.7.9.5
#1 lore raw

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

Dear Mischa Jonker,

Quoted 4 lines · Mischa Jonker
---
 package/perf/perf.mk |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#2 lore raw

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

In reply to Mischa Jonker
Quoted 26 lines · Mischa Jonker
---
 package/perf/perf.mk |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
package/perf/perf.mk +2 -2
index 7787c78..120353f 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,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

package/perf/perf.mk define PERF_BUILD_CMDS

Quoted 10 lines
package/perf/perf.mk +1 -2
 
 # 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
--