1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 03:30:37 +02:00

[include] autotools.mk: allow autogen.sh / autoreconf to fail (for now)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24320 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jow 2010-12-08 01:19:52 +00:00
parent 833f7d0241
commit 92fc3a6d97

View File

@ -25,10 +25,10 @@ endef
define autoreconf define autoreconf
(cd $(PKG_BUILD_DIR); \ (cd $(PKG_BUILD_DIR); \
if [ -x ./autogen.sh ]; then \ if [ -x ./autogen.sh ]; then \
./autogen.sh; \ ./autogen.sh || true; \
elif [ -f ./configure.ac ] || [ -f ./configure.in ]; then \ elif [ -f ./configure.ac ] || [ -f ./configure.in ]; then \
$(STAGING_DIR_HOST)/bin/autoreconf -v -f -i -s \ $(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 \ fi \
); );
endef endef