# choosen in the config. This will have to be fixed later.
depends on !BR2_TOOLCHAIN_EXTERNAL
select BR2_PACKAGE_POPT
+ select BR2_PACKAGE_BINUTILS
depends on BR2_INSTALL_LIBSTDCPP
help
OProfile is a system-wide profiler for Linux systems,
#############################################################
OPROFILE_VERSION := 0.9.4
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
OPROFILE_BINARIES := utils/ophelp
OPROFILE_ARCH := $(BR2_ARCH)
endif
-OPROFILE_DEPENDENCIES := popt binutils_target
+OPROFILE_DEPENDENCIES := popt binutils
define OPROFILE_INSTALL_TARGET_CMDS
$(INSTALL) -d -m 755 $(TARGET_DIR)/usr/bin