mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-01 21:23:51 -09:00
Fixes: https://autobuild.buildroot.net/results/e12/e12de278cb7bb0ecc0d44dd9c69d3832ede946de/ Signed-off-by: Bernd Kuhls <bernd@kuhls.net> Signed-off-by: Julien Olivain <ju.o@free.fr>
31 lines
926 B
Makefile
31 lines
926 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
|
|
# 0003-Fix-autoconf-detection-of-perf_events.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))
|