projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix ipset compile with 2.6.22-rc4
[openwrt.git]
/
tools
/
Makefile
diff --git
a/tools/Makefile
b/tools/Makefile
index
31b0bec
..
265c6ae
100644
(file)
--- a/
tools/Makefile
+++ b/
tools/Makefile
@@
-32,18
+32,19
@@
endif
$(STAMP): $(TOPDIR)/.config
mkdir -p $(shell dirname $@)
touch $@
$(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 $@
$(TOOL_BUILD_DIR):
@mkdir -p $@
-%-prereq %-download %-clean: FORCE
+%-prereq %-download %-clean
%-refresh
: FORCE
$(MAKE) -C $* $(patsubst $*-%,%,$@)
$(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
$(MAKE) -C $* $(patsubst $*-%,%,$@)
%-compile: %-prepare FORCE
This page took
0.0294 seconds
and
4
git commands to generate.