libtool-nativesdk: rename to nativesdk-libtool

Rename nativesdk item to prefix vs suffix. Some minor changes for
getting it works after renamed:

    * append patches dir 'libtool/' to FILESEXTRAPATHS
    * update ${S}, append '${datadir}/libtool/*' to FILES_${PN}

(From OE-Core rev: cc7deb8b8dbc58975b8f55cd63f237aa0ded0887)

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Wenzong Fan 2013-05-08 04:09:48 -04:00 committed by Richard Purdie
parent d67e9bc9df
commit f31c86eee1
1 changed files with 6 additions and 0 deletions

View File

@ -1,11 +1,17 @@
require libtool-${PV}.inc
PR = "${INC_PR}.0"
FILESEXTRAPATHS =. "${FILE_DIRNAME}/libtool:"
SRC_URI += "file://prefix.patch"
SRC_URI += "file://fixinstall.patch"
inherit nativesdk
S = "${WORKDIR}/libtool-${PV}"
FILES_${PN} += "${datadir}/libtool/*"
do_configure_prepend () {
# Remove any existing libtool m4 since old stale versions would break
# any upgrade