mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-23 19:44:05 +02:00
[include] use autoreconf hook instead of manual call
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32837 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
2cf0953394
commit
dec5716587
@ -62,7 +62,6 @@ define prepare_custom_source_directory
|
|||||||
rm -Rf $(PKG_BUILD_DIR); \
|
rm -Rf $(PKG_BUILD_DIR); \
|
||||||
echo "Preparing Custom Source Directory link: $(CONFIG_$(PKG_NAME)_CUSTOM_SOURCE_DIR)"; \
|
echo "Preparing Custom Source Directory link: $(CONFIG_$(PKG_NAME)_CUSTOM_SOURCE_DIR)"; \
|
||||||
ln -snf $(CONFIG_$(PKG_NAME)_CUSTOM_SOURCE_DIR) $(PKG_BUILD_DIR); \
|
ln -snf $(CONFIG_$(PKG_NAME)_CUSTOM_SOURCE_DIR) $(PKG_BUILD_DIR); \
|
||||||
[ -x "$(PKG_BUILD_DIR)/autoreconf" ] && (cd $(PKG_BUILD_DIR); autoreconf -i;) \
|
|
||||||
else \
|
else \
|
||||||
echo "Custom Source Directory $(CONFIG_$(PKG_NAME)_CUSTOM_SOURCE_DIR) is invalid"; \
|
echo "Custom Source Directory $(CONFIG_$(PKG_NAME)_CUSTOM_SOURCE_DIR) is invalid"; \
|
||||||
false; \
|
false; \
|
||||||
|
@ -76,6 +76,9 @@ ifeq ($(CONFIG_$(PKG_NAME)_USE_CUSTOM_SOURCE_DIR),y)
|
|||||||
PKG_SOURCE_URL:=
|
PKG_SOURCE_URL:=
|
||||||
# add hook to install a link to customer source path of dedicated package
|
# add hook to install a link to customer source path of dedicated package
|
||||||
Hooks/Prepare/Pre += prepare_custom_source_directory
|
Hooks/Prepare/Pre += prepare_custom_source_directory
|
||||||
|
ifeq ($(filter autoreconf,$(Hooks/Configure/Pre)),)
|
||||||
|
Hooks/Configure/Pre += autoreconf_target
|
||||||
|
endif
|
||||||
# define empty default action
|
# define empty default action
|
||||||
define Build/Prepare/Default
|
define Build/Prepare/Default
|
||||||
@:
|
@:
|
||||||
|
Loading…
Reference in New Issue
Block a user