Patchwork [1/1] libtool-nativesdk: rename to nativesdk-libtool

login
register
mail settings
Submitter wenzong.fan@windriver.com
Date May 8, 2013, 8:09 a.m.
Message ID <8732fa034710d25711e38bba35749d5af4cae89c.1368000473.git.wenzong.fan@windriver.com>
Download mbox | patch
Permalink /patch/49535/
State New
Headers show

Comments

wenzong.fan@windriver.com - May 8, 2013, 8:09 a.m.
From: Wenzong Fan <wenzong.fan@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@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%)

Patch

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