1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-23 20:00:39 +02:00

[include] package-version-override always calls autoreconf

make it conditional on the existance of autoreconf

Signed-off-by: Ryan Nowakowski <tubaman@fattuba.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32831 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
blogic 2012-07-24 23:07:30 +00:00
parent 1f6d8c0e8b
commit f87b494585

View File

@ -62,7 +62,7 @@ define prepare_custom_source_directory
rm -Rf $(PKG_BUILD_DIR); \
echo "Preparing Custom Source Directory link: $(CONFIG_$(PKG_NAME)_CUSTOM_SOURCE_DIR)"; \
ln -snf $(CONFIG_$(PKG_NAME)_CUSTOM_SOURCE_DIR) $(PKG_BUILD_DIR); \
( cd $(PKG_BUILD_DIR); autoreconf -i; ) \
[ -x "$(PKG_BUILD_DIR)/autoreconf" ] && (cd $(PKG_BUILD_DIR); autoreconf -i;) \
else \
echo "Custom Source Directory $(CONFIG_$(PKG_NAME)_CUSTOM_SOURCE_DIR) is invalid"; \
false; \