mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-02-03 05:12:51 +00:00
Add wrapper around aclocal which also search in the targets staging dir aclocal folder for m4 files.
SVN-Revision: 12929
This commit is contained in:
parent
1962736dc2
commit
1f819de60e
@ -1,4 +1,4 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2006 OpenWrt.org
|
# Copyright (C) 2006 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
@ -27,6 +27,9 @@ endef
|
|||||||
|
|
||||||
define Build/Install
|
define Build/Install
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) install
|
$(MAKE) -C $(PKG_BUILD_DIR) install
|
||||||
|
mv $(STAGING_DIR_HOST)/bin/aclocal $(STAGING_DIR_HOST)/bin/aclocal.real
|
||||||
|
$(INSTALL_BIN) ./files/aclocal $(STAGING_DIR_HOST)/bin
|
||||||
|
ln -f $(STAGING_DIR_HOST)/bin/aclocal $(STAGING_DIR_HOST)/bin/aclocal-1.9
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Clean
|
define Build/Clean
|
||||||
|
5
tools/automake/files/aclocal
Executable file
5
tools/automake/files/aclocal
Executable file
@ -0,0 +1,5 @@
|
|||||||
|
#!/usr/bin/env sh
|
||||||
|
aclocal.real \
|
||||||
|
-I ${STAGING_DIR}/host/share/aclocal \
|
||||||
|
-I ${STAGING_DIR}/usr/share/aclocal \
|
||||||
|
$@
|
Loading…
Reference in New Issue
Block a user