Skip to content

Commit ff88480

Browse files
committed
perf: Add host-bison, host-flex dependencies
Signed-off-by: Mischa Jonker <[email protected]>
1 parent 5495c42 commit ff88480

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

package/perf/perf.mk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
PERF_SOURCE =
99
PERF_VERSION = $(call qstrip,$(BR2_LINUX_KERNEL_VERSION))
1010

11-
PERF_DEPENDENCIES = linux
11+
PERF_DEPENDENCIES = linux host-flex host-bison
1212

1313
PERF_MAKE_FLAGS = \
1414
$(LINUX_MAKE_FLAGS) \
@@ -40,14 +40,14 @@ define PERF_BUILD_CMDS
4040
exit 1 ; \
4141
fi \
4242
fi
43-
$(MAKE) -C $(LINUX_DIR)/tools/perf \
43+
$(TARGET_MAKE_ENV) $(MAKE) -C $(LINUX_DIR)/tools/perf \
4444
$(PERF_MAKE_FLAGS) O=$(@D)
4545
endef
4646

4747
# After installation, we remove the Perl and Python scripts from the
4848
# target.
4949
define PERF_INSTALL_TARGET_CMDS
50-
$(MAKE) -C $(LINUX_DIR)/tools/perf \
50+
$(TARGET_MAKE_ENV) $(MAKE) -C $(LINUX_DIR)/tools/perf \
5151
$(PERF_MAKE_FLAGS) O=$(@D) install
5252
$(RM) -rf $(TARGET_DIR)/usr/libexec/perf-core/scripts/
5353
endef

0 commit comments

Comments
 (0)