mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 06:06:32 +00:00
oprofile: use new libbfd option
Convert the oprofile target to select the new libbfd staging/target option to avoid a huge target binutils for a simple task. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
5bd272eb6b
commit
243add5abc
@ -5,6 +5,7 @@ config BR2_PACKAGE_OPROFILE
|
|||||||
# choosen in the config. This will have to be fixed later.
|
# choosen in the config. This will have to be fixed later.
|
||||||
depends on !BR2_TOOLCHAIN_EXTERNAL
|
depends on !BR2_TOOLCHAIN_EXTERNAL
|
||||||
select BR2_PACKAGE_POPT
|
select BR2_PACKAGE_POPT
|
||||||
|
select BR2_PACKAGE_BINUTILS
|
||||||
depends on BR2_INSTALL_LIBSTDCPP
|
depends on BR2_INSTALL_LIBSTDCPP
|
||||||
help
|
help
|
||||||
OProfile is a system-wide profiler for Linux systems,
|
OProfile is a system-wide profiler for Linux systems,
|
||||||
|
@ -5,9 +5,6 @@
|
|||||||
#############################################################
|
#############################################################
|
||||||
OPROFILE_VERSION := 0.9.4
|
OPROFILE_VERSION := 0.9.4
|
||||||
OPROFILE_CONF_OPT := --localstatedir=/var \
|
OPROFILE_CONF_OPT := --localstatedir=/var \
|
||||||
--with-extra-includes="$(BUILD_DIR)/binutils-$(BR2_BINUTILS_VERSION)-target/bfd \
|
|
||||||
-I$(TOOLCHAIN_DIR)/binutils-$(BR2_BINUTILS_VERSION)/include" \
|
|
||||||
--with-extra-libs=$(BUILD_DIR)/binutils-$(BR2_BINUTILS_VERSION)-target/bfd \
|
|
||||||
--with-kernel-support
|
--with-kernel-support
|
||||||
|
|
||||||
OPROFILE_BINARIES := utils/ophelp
|
OPROFILE_BINARIES := utils/ophelp
|
||||||
@ -24,7 +21,7 @@ ifeq ($(OPROFILE_ARCH),)
|
|||||||
OPROFILE_ARCH := $(BR2_ARCH)
|
OPROFILE_ARCH := $(BR2_ARCH)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
OPROFILE_DEPENDENCIES := popt binutils_target
|
OPROFILE_DEPENDENCIES := popt binutils
|
||||||
|
|
||||||
define OPROFILE_INSTALL_TARGET_CMDS
|
define OPROFILE_INSTALL_TARGET_CMDS
|
||||||
$(INSTALL) -d -m 755 $(TARGET_DIR)/usr/bin
|
$(INSTALL) -d -m 755 $(TARGET_DIR)/usr/bin
|
||||||
|
Loading…
x
Reference in New Issue
Block a user