diff options
author | Khem Raj <raj.khem@gmail.com> | 2012-08-08 07:57:46 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-12-06 12:31:01 +0000 |
commit | 0333796a6b167dd754806700d7f771dd4a74e4ab (patch) | |
tree | 4cf937bfe6e1436383cd46bc2003037269cb70c1 /meta/recipes-kernel/oprofile/oprofile.inc | |
parent | 74c17311635f9cf16d3ede2c0112839a26f7404d (diff) | |
download | poky-0333796a6b167dd754806700d7f771dd4a74e4ab.tar.gz |
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 <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/oprofile/oprofile.inc')
-rw-r--r-- | meta/recipes-kernel/oprofile/oprofile.inc | 4 |
1 files changed, 2 insertions, 2 deletions
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}" | |||
19 | FILES_${PN}-dev += "${libdir}/${BPN}/lib*${SOLIBSDEV} ${libdir}/${BPN}/lib*.la" | 19 | FILES_${PN}-dev += "${libdir}/${BPN}/lib*${SOLIBSDEV} ${libdir}/${BPN}/lib*.la" |
20 | FILES_${PN}-staticdev += "${libdir}/${BPN}/lib*.a" | 20 | FILES_${PN}-staticdev += "${libdir}/${BPN}/lib*.a" |
21 | 21 | ||
22 | INC_PR = "r1" | 22 | INC_PR = "r2" |
23 | 23 | ||
24 | SRC_URI = "file://opstart.patch \ | 24 | SRC_URI = "file://opstart.patch \ |
25 | file://oprofile-no-query-modules.patch \ | 25 | file://oprofile-no-query-modules.patch \ |
26 | file://oprofile-root.patch \ | 26 | file://oprofile-root.patch \ |
27 | file://fix-bfd-include.patch \ | ||
27 | file://acinclude.m4" | 28 | file://acinclude.m4" |
28 | 29 | ||
29 | inherit autotools | 30 | inherit autotools |
30 | 31 | ||
31 | EXTRA_OECONF = "--with-kernel-support --without-x" | 32 | EXTRA_OECONF = "--with-kernel-support --without-x" |
32 | |||
33 | do_configure () { | 33 | do_configure () { |
34 | cp ${WORKDIR}/acinclude.m4 ${S}/ | 34 | cp ${WORKDIR}/acinclude.m4 ${S}/ |
35 | autotools_do_configure | 35 | autotools_do_configure |