All of lore.kernel.org
 help / color / mirror / Atom feed
* Please review john_lee/openmoko-toolchain
@ 2008-12-22  9:29 John Lee
  2008-12-22 12:07 ` Koen Kooi
  0 siblings, 1 reply; 4+ messages in thread
From: John Lee @ 2008-12-22  9:29 UTC (permalink / raw)
  To: openembedded-devel

Hi,

This branch contains just 4 extra commits but these are highly
controversial.


    meta-toolchain.bb: introduce POPULATE_SDK_EXTRA_TASK
    
    In case some more modifications are required before the toolchain is
    packaged up, introduce this variable to do extra tasks right before
    packaging.


    meta-toolchain-openmoko.bb: add feed to toolchain
    
    By modifying the opkg config files in the toolchain, the toolchain can
    expend itself by installing packages from the repository.


We need to do some modifications to the contents of toolchain before
the packaging complete, so we use this variable as a hook.  The
modification is to create an opkg config file so the toolchain knows
where to get new packages.  A better way might be to install
distro-feed-configs, but that includes several opkg config files while
alias 'opkg-target' uses just one: opkg.conf.


    libtool-sdk_1.5.10.bb, meta-toolchain.bb, task-sdk-host.bb: introduce
    sysroot libtool-sdk.
    
    Add libtool-sdk to help the meta toolchain using the .la files.  Patch
    add_sysroot_function.patch is applied to teach libtool about
    LIBTOOL_SYSROOT_PATH .
    
    task-sdk-host.bb is updated along with its consumers to include
    libtool-sdk, and meta-toolchain.bb is updated to include this
    environment variable.


After some packages is installed by user to extend the toolchain, one
will find out that the .la files in the -dev packages often contain
incorrect paths.  In order to solve that, LIBTOOL_SYSROOT_PATH is
introduced, and it works just like PKG_CONFIG_SYSROOT_DIR.

This patch is posted to upstream already:

http://lists.gnu.org/archive/html/libtool-patches/2008-12/msg00000.html


    autotools.bbclass: adding do_install_append() to autotools.bbclass
    
    This function is used to correct .la files.  Many bb files use their
    own do_install so just adding this into the original
    autoclass_do_install won't work.  This ensures the .la files contain
    correct path.


The last commit along is not enough to fix the .la files.  This
enforces do_install to check the .la files and fix them.


Comments?  Flames?


Regards,
John



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-01-05  9:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-22  9:29 Please review john_lee/openmoko-toolchain John Lee
2008-12-22 12:07 ` Koen Kooi
2008-12-24  6:41   ` John Lee
2009-01-05  9:18     ` John Lee

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.