From 0333796a6b167dd754806700d7f771dd4a74e4ab Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 8 Aug 2012 07:57:46 -0700 Subject: oprofile: Include config.h before bfd.h oprofile uses bfd.h from binutils which now in 2.23+ expects config.h so lets include it (From OE-Core rev: cd7aa7440103284a47b96ec176cace8685f720bb) Signed-off-by: Khem Raj Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- meta/recipes-kernel/oprofile/oprofile.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'meta/recipes-kernel/oprofile/oprofile.inc') diff --git a/meta/recipes-kernel/oprofile/oprofile.inc b/meta/recipes-kernel/oprofile/oprofile.inc index ac8ce10440..b3ce852bba 100644 --- a/meta/recipes-kernel/oprofile/oprofile.inc +++ b/meta/recipes-kernel/oprofile/oprofile.inc @@ -19,17 +19,17 @@ FILES_${PN} = "${bindir} ${libdir}/${BPN}/lib*${SOLIBS} ${datadir}/${BPN}" FILES_${PN}-dev += "${libdir}/${BPN}/lib*${SOLIBSDEV} ${libdir}/${BPN}/lib*.la" FILES_${PN}-staticdev += "${libdir}/${BPN}/lib*.a" -INC_PR = "r1" +INC_PR = "r2" SRC_URI = "file://opstart.patch \ file://oprofile-no-query-modules.patch \ file://oprofile-root.patch \ + file://fix-bfd-include.patch \ file://acinclude.m4" inherit autotools EXTRA_OECONF = "--with-kernel-support --without-x" - do_configure () { cp ${WORKDIR}/acinclude.m4 ${S}/ autotools_do_configure -- cgit v1.2.3-54-g00ecf