mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 15:32:33 +00:00
package-version-override always calls autoreconf
make it conditional on the existance of autoreconf Signed-off-by: Ryan Nowakowski <tubaman@fattuba.com> SVN-Revision: 32831
This commit is contained in:
parent
7639c9b580
commit
8029fefe5c
@ -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; \
|
||||
|
Loading…
Reference in New Issue
Block a user