[include]

- implement hooks for hostbuilds
	- use host build hooks to implement fixups for host build
	- move separator declaration to rules.mk


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24551 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Jo-Philipp Wich
2010-12-13 19:04:33 +00:00
parent 3e09ff9a2e
commit 853ff77a2c
4 changed files with 73 additions and 19 deletions

View File

@@ -75,10 +75,6 @@ define Download/default
MD5SUM:=$(PKG_MD5SUM)
endef
define sep
endef
define Build/Exports/Default
$(1) : export ACLOCAL_INCLUDE=$$(foreach p,$$(wildcard $$(STAGING_DIR)/usr/share/aclocal $$(STAGING_DIR)/usr/share/aclocal-* $$(STAGING_DIR)/host/share/aclocal $$(STAGING_DIR)/host/share/aclocal-*),-I $$(p))
$(1) : export STAGING_PREFIX=$$(STAGING_DIR)/usr