mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 19:18:07 +02:00
fix host header files installation for tools (closes: #1604)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7029 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
188addeb09
commit
5456bfc899
@ -32,10 +32,11 @@ endif
|
||||
$(STAMP): $(TOPDIR)/.config
|
||||
mkdir -p $(shell dirname $@)
|
||||
touch $@
|
||||
|
||||
$(STAGING_DIR)/include-host:
|
||||
@mkdir -p $@
|
||||
@$(CP) ./include/*.h $@/
|
||||
|
||||
TOOL_HOST_INCLUDES:=$(patsubst ./include/%.h,$(STAGING_DIR)/include-host/%.h,$(wildcard ./include/*.h))
|
||||
$(TOOL_HOST_INCLUDES): $(STAGING_DIR)/include-host/%.h: ./include/%.h
|
||||
@mkdir -p $(STAGING_DIR)/include-host
|
||||
$(CP) $< $@
|
||||
|
||||
$(TOOL_BUILD_DIR):
|
||||
@mkdir -p $@
|
||||
@ -43,7 +44,7 @@ $(TOOL_BUILD_DIR):
|
||||
%-prereq %-download %-clean: FORCE
|
||||
$(MAKE) -C $* $(patsubst $*-%,%,$@)
|
||||
|
||||
%-prepare: $(STAGING_DIR)/include-host $(TOOL_BUILD_DIR) FORCE
|
||||
%-prepare: $(TOOL_HOST_INCLUDES) $(TOOL_BUILD_DIR) FORCE
|
||||
$(MAKE) -C $* $(patsubst $*-%,%,$@)
|
||||
|
||||
%-compile: %-prepare FORCE
|
||||
|
Loading…
Reference in New Issue
Block a user