[OE-core] [PATCH 1/1] libtool-nativesdk: rename to nativesdk-libtool

wenzong.fan at windriver.com wenzong.fan at windriver.com
Wed May 8 08:09:48 UTC 2013


From: Wenzong Fan <wenzong.fan at windriver.com>

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}

Signed-off-by: Wenzong Fan <wenzong.fan at windriver.com>
---
 ...tivesdk_2.4.2.bb => nativesdk-libtool_2.4.2.bb} |    6 ++++++
 1 file changed, 6 insertions(+)
 rename meta/recipes-devtools/libtool/{libtool-nativesdk_2.4.2.bb => nativesdk-libtool_2.4.2.bb} (86%)

diff --git a/meta/recipes-devtools/libtool/libtool-nativesdk_2.4.2.bb b/meta/recipes-devtools/libtool/nativesdk-libtool_2.4.2.bb
similarity index 86%
rename from meta/recipes-devtools/libtool/libtool-nativesdk_2.4.2.bb
rename to meta/recipes-devtools/libtool/nativesdk-libtool_2.4.2.bb
index 03854f2..7b5c97a 100644
--- a/meta/recipes-devtools/libtool/libtool-nativesdk_2.4.2.bb
+++ b/meta/recipes-devtools/libtool/nativesdk-libtool_2.4.2.bb
@@ -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
-- 
1.7.9.5





More information about the Openembedded-core mailing list