From: Philip Balister <philip@balister.org>
To: openembedded-devel@openembedded.org
Subject: Re: Fixing up libtool-native and libtool-cross
Date: Tue, 15 May 2007 07:47:07 -0400 [thread overview]
Message-ID: <46499DBB.9080001@balister.org> (raw)
In-Reply-To: <4648EB51.4040303@dominion.kabel.utwente.nl>
[-- Attachment #1: Type: text/plain, Size: 5588 bytes --]
Can we apply these to the 1.5.22 libtool bb files also? I ahve added
these with DEFAULT_PREFERENCE = "-1" since they have trouble building
some packages, apparently due to looking in build system directories for
libraries
Philip
Koen Kooi wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> Richard has fixed up libtool in Poky a bit and I want to merge his work into OE. Since
> it's 1 AM now, and libtool is a pretty 'core' part, I'm posting the patch for review
> before committing it tomorrow night.
>
> regards,
>
> Koen
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (Darwin)
>
> iD8DBQFGSOtRMkyGM64RGpERAuiCAJ0Yqz+t4X/zNCjTbZIBU7yjaDt8twCgkgVq
> iM3uwQTciklpQKjurM34Nys=
> =W6UX
> -----END PGP SIGNATURE-----
>
>
> ------------------------------------------------------------------------
>
> #
> # old_revision [990392a71744fa8ec062ee769a883473775269ee]
> #
> # patch "classes/autotools.bbclass"
> # from [dced52fcafd4e224bafcb35c4fb04253857c7c3b]
> # to [113ae9d1554b6e93d9c7a7fda84d71da4712caf9]
> #
> # patch "packages/libtool/libtool-cross_1.5.10.bb"
> # from [58b238af5bb9acdeca5b86c34b50c419fb49b55e]
> # to [5134256c71b2d679838e87a55b084a99b1ac17d4]
> #
> # patch "packages/libtool/libtool-native_1.5.10.bb"
> # from [e1d2b08387782afbf7c5c6787a92d9af864dfb2d]
> # to [bc799a0464069f3531cbb0a017c4d8d2a1afd63e]
> #
> ============================================================
> --- classes/autotools.bbclass dced52fcafd4e224bafcb35c4fb04253857c7c3b
> +++ classes/autotools.bbclass 113ae9d1554b6e93d9c7a7fda84d71da4712caf9
> @@ -15,6 +15,10 @@ def autotools_dep_prepend(d):
>
> if not pn in ['libtool', 'libtool-native', 'libtool-cross']:
> deps += 'libtool-native '
> + if not bb.data.inherits_class('native', d) \
> + and not bb.data.inherits_class('cross', d) \
> + and not bb.data.getVar('INHIBIT_DEFAULT_DEPS', d, 1):
> + deps += 'libtool-cross '
>
> return deps + 'gnu-config-native '
>
> ============================================================
> --- packages/libtool/libtool-cross_1.5.10.bb 58b238af5bb9acdeca5b86c34b50c419fb49b55e
> +++ packages/libtool/libtool-cross_1.5.10.bb 5134256c71b2d679838e87a55b084a99b1ac17d4
> @@ -1,7 +1,7 @@ require libtool_${PV}.bb
> SECTION = "devel"
> require libtool_${PV}.bb
>
> -PR = "r4"
> +PR = "r5"
> PACKAGES = ""
> FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/libtool-${PV}"
> SRC_URI_append = " file://libdir-la.patch;patch=1 \
> @@ -21,6 +21,13 @@ do_stage () {
>
> do_stage () {
> install -m 0755 ${HOST_SYS}-libtool ${bindir}/${HOST_SYS}-libtool
> + install -m 0644 libltdl/ltdl.h ${STAGING_INCDIR}/
> + install -d ${STAGING_DATADIR}/libtool ${STAGING_DATADIR}/aclocal
> + install -c config.guess ${STAGING_DATADIR}/libtool/
> + install -c config.sub ${STAGING_DATADIR}/libtool/
> + install -c -m 0644 ltmain.sh ${STAGING_DATADIR}/libtool/
> + install -c -m 0644 libtool.m4 ${STAGING_DATADIR}/aclocal/
> + install -c -m 0644 ltdl.m4 ${STAGING_DATADIR}/aclocal/
> }
>
> do_install () {
> ============================================================
> --- packages/libtool/libtool-native_1.5.10.bb e1d2b08387782afbf7c5c6787a92d9af864dfb2d
> +++ packages/libtool/libtool-native_1.5.10.bb bc799a0464069f3531cbb0a017c4d8d2a1afd63e
> @@ -1,7 +1,7 @@ require libtool_${PV}.bb
> SECTION = "devel"
> require libtool_${PV}.bb
>
> -PR = "r4"
> +PR = "r5"
> FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/libtool-${PV}"
> SRC_URI_append = " file://libdir-la.patch;patch=1 \
> file://prefix.patch;patch=1 \
> @@ -10,8 +10,6 @@ S = "${WORKDIR}/libtool-${PV}"
> file://install-path-check.patch;patch=1"
> S = "${WORKDIR}/libtool-${PV}"
>
> -STAGING_DATADIR_safe := "${STAGING_DATADIR}"
> -
> inherit native
>
> do_stage () {
> @@ -19,22 +17,12 @@ do_stage () {
> install -m 0755 libtoolize ${STAGING_BINDIR}/libtoolize
> oe_libinstall -a -so -C libltdl libltdl ${STAGING_LIBDIR}
> install -m 0644 libltdl/ltdl.h ${STAGING_INCDIR}/
> - for dir in ${STAGING_DATADIR} ${STAGING_DATADIR_safe}; do
> - ltdldir="${dir}/libtool/libltdl"
> - install -d $dir/libtool \
> - $ltdldir \
> - $dir/aclocal
> - install -c config.guess $dir/libtool/config.guess
> - install -c config.sub $dir/libtool/config.sub
> - install -c -m 0644 ltmain.sh $dir/libtool/
> - install -c -m 0644 libtool.m4 $dir/aclocal/
> - install -c -m 0644 ltdl.m4 $dir/aclocal/
> -
> - for src in README COPYING.LIB Makefile.am configure.ac \
> - config-h.in ltdl.c ltdl.h; do
> - install -m 0644 libltdl/${src} ${ltdldir}
> - done
> - done
> + install -d ${STAGING_DATADIR}/libtool ${STAGING_DATADIR}/aclocal
> + install -c config.guess ${STAGING_DATADIR}/libtool/
> + install -c config.sub ${STAGING_DATADIR}/libtool/
> + install -c -m 0644 ltmain.sh ${STAGING_DATADIR}/libtool/
> + install -c -m 0644 libtool.m4 ${STAGING_DATADIR}/aclocal/
> + install -c -m 0644 ltdl.m4 ${STAGING_DATADIR}/aclocal/
> }
>
> do_install () {
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3303 bytes --]
next prev parent reply other threads:[~2007-05-15 11:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-14 23:05 Fixing up libtool-native and libtool-cross Koen Kooi
2007-05-15 7:53 ` pHilipp Zabel
2007-05-15 11:47 ` Philip Balister [this message]
2007-05-15 12:53 ` Koen Kooi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46499DBB.9080001@balister.org \
--to=philip@balister.org \
--cc=openembedded-devel@lists.openembedded.org \
--cc=openembedded-devel@openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.