allow packages to override the patch directory using the PATCH_DIR variable
[openwrt-10.03/.git] / tools / Makefile
index 513ecccb5197db32c2867b8cecbb12ad4636c7b1..265c6aebf5c997b154eaf86e25656e21ad07223f 100644 (file)
@@ -41,7 +41,7 @@ $(TOOL_HOST_INCLUDES): $(STAGING_DIR)/include-host/%.h: ./include/%.h
 $(TOOL_BUILD_DIR):
        @mkdir -p $@
 
-%-prereq %-download %-clean: FORCE
+%-prereq %-download %-clean %-refresh: FORCE
        $(MAKE) -C $* $(patsubst $*-%,%,$@)
 
 %-prepare: $(TOOL_HOST_INCLUDES) $(TOOL_BUILD_DIR) FORCE