40205fa62b
sframe library was added by binutils 2.40 and19e559f1c9
resulting in the following static build failure: /home/buildroot/autobuild/run/instance-1/output-1/build/binutils-2.41/bfd/elf-sframe.c:220: undefined reference to `sframe_decode' [...] configure: error: bfd library not found Fixes: - http://autobuild.buildroot.org/results/a9f3e09e6543b3773440c011e93bd41e357691e4 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commit5272c6bea1
) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
30 lines
875 B
Makefile
30 lines
875 B
Makefile
################################################################################
|
|
#
|
|
# oprofile
|
|
#
|
|
################################################################################
|
|
|
|
OPROFILE_VERSION = 1.4.0
|
|
OPROFILE_SITE = http://downloads.sourceforge.net/project/oprofile/oprofile/oprofile-$(OPROFILE_VERSION)
|
|
OPROFILE_LICENSE = GPL-2.0+
|
|
OPROFILE_LICENSE_FILES = COPYING
|
|
OPROFILE_CPE_ID_VENDOR = maynard_johnson
|
|
OPROFILE_CONF_OPTS = \
|
|
--disable-account-check \
|
|
--with-kernel=$(STAGING_DIR)/usr
|
|
# 0002-fix-static-build-with-binutils-2.40.patch
|
|
OPROFILE_AUTORECONF = YES
|
|
|
|
define OPROFILE_CREATE_MISSING_FILES
|
|
touch $(@D)/NEWS $(@D)/AUTHORS $(@D)/ChangeLog
|
|
endef
|
|
OPROFILE_POST_EXTRACT_HOOKS += OPROFILE_CREATE_MISSING_FILES
|
|
|
|
OPROFILE_DEPENDENCIES = popt binutils host-pkgconf
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBPFM4),y)
|
|
OPROFILE_DEPENDENCIES += libpfm4
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|