[Buildroot] [git commit master] Prevent libtool patching before autoreconf when autoreconf is required

Peter Korsgaard jacmet at sunsite.dk
Mon Oct 5 12:11:49 UTC 2009


commit: http://git.buildroot.net/buildroot/commit/?id=34bba153aca96765aff0c6ff4c84352cb69b94b6
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Signed-off-by: Lionel Landwerlin <lionel.landwerlin at openwide.fr>
Tested-By: Sven Neumann <s.neumann at raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet at sunsite.dk>
---
 package/Makefile.autotools.in |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/package/Makefile.autotools.in b/package/Makefile.autotools.in
index c4c4b1c..d36c884 100644
--- a/package/Makefile.autotools.in
+++ b/package/Makefile.autotools.in
@@ -188,7 +188,8 @@ $(BUILD_DIR)/%/.stamp_extracted:
 $(BUILD_DIR)/%/.stamp_libtool_patch:
 	$(call MESSAGE,"Patching libtool")
 # 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 \
 		toolchain/patch-kernel.sh $${i%/*} package buildroot-libtool.patch; \
 		done \
-- 
1.6.3.3




More information about the buildroot mailing list