|
|
@ -33,9 +33,10 @@ $(STAMP): $(TOPDIR)/.config |
|
|
|
mkdir -p $(shell dirname $@)
|
|
|
|
mkdir -p $(shell dirname $@)
|
|
|
|
touch $@
|
|
|
|
touch $@
|
|
|
|
|
|
|
|
|
|
|
|
$(STAGING_DIR)/include-host: |
|
|
|
TOOL_HOST_INCLUDES:=$(patsubst ./include/%.h,$(STAGING_DIR)/include-host/%.h,$(wildcard ./include/*.h))
|
|
|
|
@mkdir -p $@
|
|
|
|
$(TOOL_HOST_INCLUDES): $(STAGING_DIR)/include-host/%.h: ./include/%.h |
|
|
|
@$(CP) ./include/*.h $@/
|
|
|
|
@mkdir -p $(STAGING_DIR)/include-host
|
|
|
|
|
|
|
|
$(CP) $< $@
|
|
|
|
|
|
|
|
|
|
|
|
$(TOOL_BUILD_DIR): |
|
|
|
$(TOOL_BUILD_DIR): |
|
|
|
@mkdir -p $@
|
|
|
|
@mkdir -p $@
|
|
|
@ -43,7 +44,7 @@ $(TOOL_BUILD_DIR): |
|
|
|
%-prereq %-download %-clean: FORCE |
|
|
|
%-prereq %-download %-clean: 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 $*-%,%,$@)
|
|
|
|
$(MAKE) -C $* $(patsubst $*-%,%,$@)
|
|
|
|
|
|
|
|
|
|
|
|
%-compile: %-prepare FORCE |
|
|
|
%-compile: %-prepare FORCE |
|
|
|