[Buildroot] fixing libtool in buildroot

John Voltz john.voltz at gmail.com
Wed Apr 30 16:14:09 UTC 2008


This now becomes:

# Retrieve and unpack the archive
$(BUILD_DIR)/%/.stamp_extracted:
    $(call MESSAGE,"Extracting")
    $(Q)mkdir -p $(@D)
    $(Q)$(INFLATE$(suffix $($(PKG)_SOURCE))) $(DL_DIR)/$($(PKG)_SOURCE) | \
    $(TAR) --strip-components=1 -C $(@D) $(TAR_OPTIONS) -
# some packages have messed up permissions inside
    $(Q)chmod -R ug+rw $(@D)
# if the package uses libtool, patch it for cross-compiling in buildroot
    for i in `find $(@D) -name ltmain.sh`; do \
        toolchain/patch-kernel.sh $${i%/*} package buildroot-libtool.patch;
\
    done
    $(Q)touch $@
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20080430/5f266478/attachment.html>


More information about the buildroot mailing list