summaryrefslogtreecommitdiffstats
path: root/rules/flex.make
diff options
context:
space:
mode:
authorBjoern Buerger <b.buerger@pengutronix.de>2006-01-12 15:43:57 +0000
committerBjoern Buerger <b.buerger@pengutronix.de>2006-01-12 15:43:57 +0000
commitdf3e493cae99002c76a3e5b63188c06a00a5e72c (patch)
tree51954bfe7746e0bb009a915ae06534573e224285 /rules/flex.make
parenta11243e8f02417f07beabde2dbb11a3775930544 (diff)
downloadptxdist-df3e493cae99002c76a3e5b63188c06a00a5e72c.tar.gz
ptxdist-df3e493cae99002c76a3e5b63188c06a00a5e72c.tar.xz
usage of autogenerated dependencies and documentation update
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-0.9-trunk@3849 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/flex.make')
-rw-r--r--rules/flex.make23
1 files changed, 5 insertions, 18 deletions
diff --git a/rules/flex.make b/rules/flex.make
index 266913358..39d9d451e 100644
--- a/rules/flex.make
+++ b/rules/flex.make
@@ -49,9 +49,7 @@ $(FLEX_SOURCE):
flex_extract: $(STATEDIR)/flex.extract
-flex_extract_deps = $(STATEDIR)/flex.get
-
-$(STATEDIR)/flex.extract: $(flex_extract_deps)
+$(STATEDIR)/flex.extract: $(flex_extract_deps_default)
@$(call targetinfo, $@)
@$(call clean, $(FLEX_DIR))
@$(call extract, $(FLEX_SOURCE))
@@ -64,13 +62,6 @@ $(STATEDIR)/flex.extract: $(flex_extract_deps)
flex_prepare: $(STATEDIR)/flex.prepare
-#
-# dependencies
-#
-flex_prepare_deps = \
- $(STATEDIR)/flex.extract \
- $(STATEDIR)/virtual-xchain.install
-
FLEX_PATH = PATH=$(CROSS_PATH)
FLEX_ENV = $(CROSS_ENV)
@@ -79,7 +70,7 @@ FLEX_ENV = $(CROSS_ENV)
#
FLEX_AUTOCONF = $(CROSS_AUTOCONF_USR)
-$(STATEDIR)/flex.prepare: $(flex_prepare_deps)
+$(STATEDIR)/flex.prepare: $(flex_prepare_deps_default)
@$(call targetinfo, $@)
@$(call clean, $(FLEX_DIR)/config.cache)
cd $(FLEX_DIR) && \
@@ -93,9 +84,7 @@ $(STATEDIR)/flex.prepare: $(flex_prepare_deps)
flex_compile: $(STATEDIR)/flex.compile
-flex_compile_deps = $(STATEDIR)/flex.prepare
-
-$(STATEDIR)/flex.compile: $(flex_compile_deps)
+$(STATEDIR)/flex.compile: $(flex_compile_deps_default)
@$(call targetinfo, $@)
cd $(FLEX_DIR) && $(FLEX_ENV) $(FLEX_PATH) make
@$(call touch, $@)
@@ -106,7 +95,7 @@ $(STATEDIR)/flex.compile: $(flex_compile_deps)
flex_install: $(STATEDIR)/flex.install
-$(STATEDIR)/flex.install: $(STATEDIR)/flex.compile
+$(STATEDIR)/flex.install: $(flex_install_deps_default)
@$(call targetinfo, $@)
@$(call install, FLEX)
@$(call touch, $@)
@@ -117,9 +106,7 @@ $(STATEDIR)/flex.install: $(STATEDIR)/flex.compile
flex_targetinstall: $(STATEDIR)/flex.targetinstall
-flex_targetinstall_deps = $(STATEDIR)/flex.compile
-
-$(STATEDIR)/flex.targetinstall: $(flex_targetinstall_deps)
+$(STATEDIR)/flex.targetinstall: $(flex_targetinstall_deps_default)
@$(call targetinfo, $@)
@$(call touch, $@)