Patchwork libtool-sdk: postprocess libtoolize and install additional files.

login
register
mail settings
Submitter Florian Boor
Date May 3, 2011, 3:45 p.m.
Message ID <1304437523-11692-1-git-send-email-florian.boor@kernelconcepts.de>
Download mbox | patch
Permalink /patch/3111/
State New, archived
Headers show

Comments

Florian Boor - May 3, 2011, 3:45 p.m.
From: Florian Boor <florian@kernelconcepts.de>

Install some additional files that might be missed by autotools.
Libtoolize has a path to build directory inside we can get rid of by postprocessing.

Signed-off-by: Florian Boor <florian@kernelconcepts.de>
---
 recipes/libtool/libtool-sdk_2.2.6b.bb |   15 ++++++++++++---
 1 files changed, 12 insertions(+), 3 deletions(-)

Patch

diff --git a/recipes/libtool/libtool-sdk_2.2.6b.bb b/recipes/libtool/libtool-sdk_2.2.6b.bb
index ff87873..b8c1e04 100644
--- a/recipes/libtool/libtool-sdk_2.2.6b.bb
+++ b/recipes/libtool/libtool-sdk_2.2.6b.bb
@@ -1,10 +1,14 @@ 
 require libtool_${PV}.bb
 
-PR = "${INC_PR}.1"
+PR = "${INC_PR}.4"
 SRC_URI_append = " file://cross_compile.patch"
 
 inherit sdk
 
+do_compile_append () {
+	sed -i 's:${STAGING_BINDIR_NATIVE}/::g' libtoolize
+}
+
 do_install () {
 	install -d ${D}${bindir}/
 	install -m 0755 libtool ${D}${bindir}/
@@ -18,8 +22,13 @@  do_install () {
 	install -m 0644 libltdl/ltdl.h ${D}${includedir}
 
 	install -d ${D}${datadir}/libtool/config/
-	install -c ${S}/libltdl/config/config.guess ${D}${datadir}/libtool/
-	install -c ${S}/libltdl/config/config.sub ${D}${datadir}/libtool/
+	install -c ${S}/libltdl/config/config.guess ${D}${datadir}/libtool/config/
+	install -c ${S}/libltdl/config/config.sub ${D}${datadir}/libtool/config/
+	install -c ${S}/libltdl/config/install-sh ${D}${datadir}/libtool/config/
+	install -c ${S}/libltdl/config/compile ${D}${datadir}/libtool/config/
+	install -c ${S}/libltdl/config/depcomp ${D}${datadir}/libtool/config/
+	install -c ${S}/libltdl/config/missing ${D}${datadir}/libtool/config/
+	install -c ${S}/libltdl/config/mkstamp ${D}${datadir}/libtool/config/
 	install -c -m 0644 ${S}/libltdl/config/ltmain.sh ${D}${datadir}/libtool/config/
 
 	install -d ${D}${datadir}/aclocal/