瀏覽代碼

Makefile.autotools.in: Get my $(Q)'s in the correct place

Minor fix for Makefile.autotools.in that deals with the packages
that use AUTOCONF to regenerate configure etc. 
(my mistake to start with)

Daniel Laird
Daniel Laird 17 年之前
父節點
當前提交
52097d2dad
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      package/Makefile.autotools.in

+ 2 - 2
package/Makefile.autotools.in

@@ -202,8 +202,8 @@ $(BUILD_DIR)/%/.stamp_autoconfigured:
 	$(call MESSAGE,"Running autoreconf")
 	$(call MESSAGE,"Running autoreconf")
 	$(Q)cd $(@D)/$($(PKG)_SUBDIR) && $(AUTORECONF)
 	$(Q)cd $(@D)/$($(PKG)_SUBDIR) && $(AUTORECONF)
 # if the package uses libtool, patch it for cross-compiling in buildroot
 # if the package uses libtool, patch it for cross-compiling in buildroot
-	if test "$($(PKG)_LIBTOOL_PATCH)" = "YES"; then \
-	$(Q)for i in `find $(@D)/$($(PKG)_SUBDIR) -name ltmain.sh`; do \
+	$(Q)if test "$($(PKG)_LIBTOOL_PATCH)" = "YES"; then \
+		for i in `find $(@D)/$($(PKG)_SUBDIR) -name ltmain.sh`; do \
 		toolchain/patch-kernel.sh $${i%/*} package buildroot-libtool.patch; \
 		toolchain/patch-kernel.sh $${i%/*} package buildroot-libtool.patch; \
 		done \
 		done \
 	fi
 	fi