Changeset 32837


Ignore:
Timestamp:
2012-07-25T12:34:06+02:00 (6 years ago)
Author:
blogic
Message:

[include] use autoreconf hook instead of manual call

Location:
trunk/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/package-version-override.mk

    r32831 r32837  
    6363                echo "Preparing Custom Source Directory link: $(CONFIG_$(PKG_NAME)_CUSTOM_SOURCE_DIR)"; \ 
    6464                ln -snf $(CONFIG_$(PKG_NAME)_CUSTOM_SOURCE_DIR) $(PKG_BUILD_DIR); \ 
    65                 [ -x "$(PKG_BUILD_DIR)/autoreconf" ] && (cd $(PKG_BUILD_DIR); autoreconf -i;) \ 
    6665        else \ 
    6766                echo "Custom Source Directory $(CONFIG_$(PKG_NAME)_CUSTOM_SOURCE_DIR) is invalid"; \ 
  • trunk/include/package.mk

    r32369 r32837  
    7777# add hook to install a link to customer source path of dedicated package 
    7878Hooks/Prepare/Pre += prepare_custom_source_directory 
     79ifeq ($(filter autoreconf,$(Hooks/Configure/Pre)),) 
     80  Hooks/Configure/Pre += autoreconf_target 
     81endif 
    7982# define empty default action 
    8083define Build/Prepare/Default 
Note: See TracChangeset for help on using the changeset viewer.