summaryrefslogtreecommitdiffstats
path: root/rules/dosfstools.make
diff options
context:
space:
mode:
Diffstat (limited to 'rules/dosfstools.make')
-rw-r--r--rules/dosfstools.make23
1 files changed, 5 insertions, 18 deletions
diff --git a/rules/dosfstools.make b/rules/dosfstools.make
index 244b0a15d..ffa5c8cf5 100644
--- a/rules/dosfstools.make
+++ b/rules/dosfstools.make
@@ -52,9 +52,7 @@ $(DOSFSTOOLS_SOURCE):
dosfstools_extract: $(STATEDIR)/dosfstools.extract
-dosfstools_extract_deps = $(STATEDIR)/dosfstools.get
-
-$(STATEDIR)/dosfstools.extract: $(dosfstools_extract_deps)
+$(STATEDIR)/dosfstools.extract: $(dosfstools_extract_deps_default)
@$(call targetinfo, $@)
@$(call clean, $(DOSFSTOOLS_DIR))
@$(call extract, $(DOSFSTOOLS_SOURCE))
@@ -67,17 +65,10 @@ $(STATEDIR)/dosfstools.extract: $(dosfstools_extract_deps)
dosfstools_prepare: $(STATEDIR)/dosfstools.prepare
-#
-# dependencies
-#
-dosfstools_prepare_deps = \
- $(STATEDIR)/dosfstools.extract \
- $(STATEDIR)/virtual-xchain.install
-
DOSFSTOOLS_PATH = PATH=$(CROSS_PATH)
DOSFSTOOLS_ENV = $(CROSS_ENV)
-$(STATEDIR)/dosfstools.prepare: $(dosfstools_prepare_deps)
+$(STATEDIR)/dosfstools.prepare: $(dosfstools_prepare_deps_default)
@$(call targetinfo, $@)
@$(call touch, $@)
@@ -87,9 +78,7 @@ $(STATEDIR)/dosfstools.prepare: $(dosfstools_prepare_deps)
dosfstools_compile: $(STATEDIR)/dosfstools.compile
-dosfstools_compile_deps = $(STATEDIR)/dosfstools.prepare
-
-$(STATEDIR)/dosfstools.compile: $(dosfstools_compile_deps)
+$(STATEDIR)/dosfstools.compile: $(dosfstools_compile_deps_default)
@$(call targetinfo, $@)
cd $(DOSFSTOOLS_DIR) && $(DOSFSTOOLS_ENV) $(DOSFSTOOLS_PATH) \
make CC=$(COMPILER_PREFIX)gcc
@@ -101,7 +90,7 @@ $(STATEDIR)/dosfstools.compile: $(dosfstools_compile_deps)
dosfstools_install: $(STATEDIR)/dosfstools.install
-$(STATEDIR)/dosfstools.install: $(STATEDIR)/dosfstools.compile
+$(STATEDIR)/dosfstools.install: $(dosfstools_install_deps_default)
@$(call targetinfo, $@)
# FIXME
# @$(call install, DOSFSTOOLS)
@@ -114,9 +103,7 @@ $(STATEDIR)/dosfstools.install: $(STATEDIR)/dosfstools.compile
dosfstools_targetinstall: $(STATEDIR)/dosfstools.targetinstall
-dosfstools_targetinstall_deps = $(STATEDIR)/dosfstools.compile
-
-$(STATEDIR)/dosfstools.targetinstall: $(dosfstools_targetinstall_deps)
+$(STATEDIR)/dosfstools.targetinstall: $(dosfstools_targetinstall_deps_default)
@$(call targetinfo, $@)
@$(call install_init,default)