1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-30 18:14:04 +02:00

Add wrapper around aclocal which also search in the targets staging dir aclocal

folder for m4 files.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12929 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
lars 2008-10-08 21:50:03 +00:00
parent e378dbfeab
commit e57a3cb7f2
2 changed files with 9 additions and 1 deletions

View File

@ -27,6 +27,9 @@ endef
define Build/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
define Build/Clean

5
tools/automake/files/aclocal Executable file
View File

@ -0,0 +1,5 @@
#!/usr/bin/env sh
aclocal.real \
-I ${STAGING_DIR}/host/share/aclocal \
-I ${STAGING_DIR}/usr/share/aclocal \
$@