autotools.mk: allow autogen.sh / autoreconf to fail (for now)
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 8 Dec 2010 01:19:52 +0000 (01:19 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 8 Dec 2010 01:19:52 +0000 (01:19 +0000)
SVN-Revision: 24320

include/autotools.mk

index 3203604..df5e85a 100644 (file)
@@ -25,10 +25,10 @@ endef
 define autoreconf
        (cd $(PKG_BUILD_DIR); \
                if [ -x ./autogen.sh ]; then \
 define autoreconf
        (cd $(PKG_BUILD_DIR); \
                if [ -x ./autogen.sh ]; then \
-                       ./autogen.sh; \
+                       ./autogen.sh || true; \
                elif [ -f ./configure.ac ] || [ -f ./configure.in ]; then \
                        $(STAGING_DIR_HOST)/bin/autoreconf -v -f -i -s \
                elif [ -f ./configure.ac ] || [ -f ./configure.in ]; then \
                        $(STAGING_DIR_HOST)/bin/autoreconf -v -f -i -s \
-                               $(patsubst %,-I %,$(PKG_LIBTOOL_PATHS)) $(PKG_LIBTOOL_PATHS); \
+                               $(patsubst %,-I %,$(PKG_LIBTOOL_PATHS)) $(PKG_LIBTOOL_PATHS) || true; \
                fi \
        );
 endef
                fi \
        );
 endef