use autoreconf hook instead of manual call

SVN-Revision: 32837
This commit is contained in:
John Crispin
2012-07-25 10:34:06 +00:00
parent 7ee4798be2
commit 584bc13d38
2 changed files with 3 additions and 1 deletions

View File

@@ -76,6 +76,9 @@ ifeq ($(CONFIG_$(PKG_NAME)_USE_CUSTOM_SOURCE_DIR),y)
PKG_SOURCE_URL:=
# add hook to install a link to customer source path of dedicated package
Hooks/Prepare/Pre += prepare_custom_source_directory
ifeq ($(filter autoreconf,$(Hooks/Configure/Pre)),)
Hooks/Configure/Pre += autoreconf_target
endif
# define empty default action
define Build/Prepare/Default
@: