diff options
author | Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> | 2013-04-04 20:55:28 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-04-22 14:45:04 +0100 |
commit | 361d686408b9a0b2ab2f1caf2b74adfe1ad1020c (patch) | |
tree | cb9d9d6ccea9b36b7fa11a0ab48d2d5ccce30402 | |
parent | 88a4fd8ab24d0f3c586a2b0b686f37d13975a3ac (diff) | |
download | poky-361d686408b9a0b2ab2f1caf2b74adfe1ad1020c.tar.gz |
elfutils: split libraries into separate packages
(From OE-Core rev: 2b9db2c81bf55527ba3a44fbf94762e5009642a4)
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-devtools/elfutils/elfutils_0.148.bb | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/meta/recipes-devtools/elfutils/elfutils_0.148.bb b/meta/recipes-devtools/elfutils/elfutils_0.148.bb index 9c0a08eafa..830f1e0386 100644 --- a/meta/recipes-devtools/elfutils/elfutils_0.148.bb +++ b/meta/recipes-devtools/elfutils/elfutils_0.148.bb | |||
@@ -68,7 +68,7 @@ EXTRA_OEMAKE_class-nativesdk = "" | |||
68 | BBCLASSEXTEND = "native nativesdk" | 68 | BBCLASSEXTEND = "native nativesdk" |
69 | 69 | ||
70 | # Package utilities separately | 70 | # Package utilities separately |
71 | PACKAGES =+ "${PN}-binutils" | 71 | PACKAGES =+ "${PN}-binutils libelf libasm libdw libdw-dev libasm-dev libelf-dev" |
72 | FILES_${PN}-binutils = "\ | 72 | FILES_${PN}-binutils = "\ |
73 | ${bindir}/eu-addr2line \ | 73 | ${bindir}/eu-addr2line \ |
74 | ${bindir}/eu-ld \ | 74 | ${bindir}/eu-ld \ |
@@ -77,11 +77,16 @@ FILES_${PN}-binutils = "\ | |||
77 | ${bindir}/eu-size \ | 77 | ${bindir}/eu-size \ |
78 | ${bindir}/eu-strip" | 78 | ${bindir}/eu-strip" |
79 | 79 | ||
80 | FILES_libelf = "${libdir}/libelf-${PV}.so ${libdir}/libelf.so.*" | ||
81 | FILES_libasm = "${libdir}/libasm-${PV}.so ${libdir}/libasm.so.*" | ||
82 | FILES_libdw = "${libdir}/libdw-${PV}.so ${libdir}/libdw.so.* ${libdir}/elfutils/lib*" | ||
83 | FILES_libelf-dev = "${libdir}/libelf.so ${includedir}" | ||
84 | FILES_libasm-dev = "${libdir}/libasm.so ${includedir}/elfutils/libasm.h" | ||
85 | FILES_libdw-dev = "${libdir}/libdw.so ${includedir}/dwarf.h ${includedir}/elfutils/libdw*.h" | ||
80 | # Some packages have the version preceeding the .so instead properly | 86 | # Some packages have the version preceeding the .so instead properly |
81 | # versioned .so.<version>, so we need to reorder and repackage. | 87 | # versioned .so.<version>, so we need to reorder and repackage. |
82 | FILES_${PN} += "${libdir}/*-${PV}.so ${base_libdir}/*-${PV}.so" | 88 | #FILES_${PN} += "${libdir}/*-${PV}.so ${base_libdir}/*-${PV}.so" |
83 | FILES_SOLIBSDEV = "${libdir}/libasm.so ${libdir}/libdw.so ${libdir}/libelf.so" | 89 | #FILES_SOLIBSDEV = "${libdir}/libasm.so ${libdir}/libdw.so ${libdir}/libelf.so" |
84 | 90 | ||
85 | # The package contains symlinks that trip up insane | 91 | # The package contains symlinks that trip up insane |
86 | INSANE_SKIP_${PN} = "dev-so" | 92 | INSANE_SKIP_${MLPREFIX}libdw = "dev-so" |
87 | |||