Prevent libtool patching before autoreconf when autoreconf is required
Signed-off-by: Lionel Landwerlin <lionel.landwerlin@openwide.fr> Tested-By: Sven Neumann <s.neumann@raumfeld.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
3ae324f856
commit
34bba153ac
@ -188,7 +188,8 @@ $(BUILD_DIR)/%/.stamp_extracted:
|
|||||||
$(BUILD_DIR)/%/.stamp_libtool_patch:
|
$(BUILD_DIR)/%/.stamp_libtool_patch:
|
||||||
$(call MESSAGE,"Patching libtool")
|
$(call MESSAGE,"Patching libtool")
|
||||||
# if the package uses libtool, patch it for cross-compiling in buildroot
|
# if the package uses libtool, patch it for cross-compiling in buildroot
|
||||||
$(Q)if test "$($(PKG)_LIBTOOL_PATCH)" = "YES"; then \
|
$(Q)if test "$($(PKG)_LIBTOOL_PATCH)" = "YES" -a \
|
||||||
|
"$($(PKG)_AUTORECONF)" != "YES"; then \
|
||||||
for i in `find $(@D) -name ltmain.sh`; do \
|
for i in `find $(@D) -name ltmain.sh`; do \
|
||||||
toolchain/patch-kernel.sh $${i%/*} package buildroot-libtool.patch; \
|
toolchain/patch-kernel.sh $${i%/*} package buildroot-libtool.patch; \
|
||||||
done \
|
done \
|
||||||
|
Loading…
Reference in New Issue
Block a user