mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-01 15:37:44 +00:00
perf: Add host-bison, host-flex dependencies
Signed-off-by: Mischa Jonker <mjonker@synopsys.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Tested-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
3e2d828c0a
commit
e2fa8eb91c
@ -8,7 +8,7 @@
|
|||||||
PERF_SOURCE =
|
PERF_SOURCE =
|
||||||
PERF_VERSION = $(call qstrip,$(BR2_LINUX_KERNEL_VERSION))
|
PERF_VERSION = $(call qstrip,$(BR2_LINUX_KERNEL_VERSION))
|
||||||
|
|
||||||
PERF_DEPENDENCIES = linux
|
PERF_DEPENDENCIES = linux host-flex host-bison
|
||||||
|
|
||||||
PERF_MAKE_FLAGS = \
|
PERF_MAKE_FLAGS = \
|
||||||
$(LINUX_MAKE_FLAGS) \
|
$(LINUX_MAKE_FLAGS) \
|
||||||
@ -40,14 +40,14 @@ define PERF_BUILD_CMDS
|
|||||||
exit 1 ; \
|
exit 1 ; \
|
||||||
fi \
|
fi \
|
||||||
fi
|
fi
|
||||||
$(MAKE) -C $(LINUX_DIR)/tools/perf \
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(LINUX_DIR)/tools/perf \
|
||||||
$(PERF_MAKE_FLAGS) O=$(@D)
|
$(PERF_MAKE_FLAGS) O=$(@D)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
# After installation, we remove the Perl and Python scripts from the
|
# After installation, we remove the Perl and Python scripts from the
|
||||||
# target.
|
# target.
|
||||||
define PERF_INSTALL_TARGET_CMDS
|
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
|
$(PERF_MAKE_FLAGS) O=$(@D) install
|
||||||
$(RM) -rf $(TARGET_DIR)/usr/libexec/perf-core/scripts/
|
$(RM) -rf $(TARGET_DIR)/usr/libexec/perf-core/scripts/
|
||||||
endef
|
endef
|
||||||
|
Loading…
x
Reference in New Issue
Block a user