summaryrefslogtreecommitdiffstats
path: root/rules/base.make
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2009-06-19 17:59:08 +0200
committerMarc Kleine-Budde <mkl@pengutronix.de>2009-08-17 10:56:21 +0200
commit0353c17fe4f7b8c5b05f53b04364cce2709504c7 (patch)
tree9360e5d9d713a3ee0804994617726551e4ce22b2 /rules/base.make
parent334fbdf459bbde6b5063c8babd98c9e9d8c7abf1 (diff)
downloadptxdist-0353c17fe4f7b8c5b05f53b04364cce2709504c7.tar.gz
ptxdist-0353c17fe4f7b8c5b05f53b04364cce2709504c7.tar.xz
[base] added new pseudo base package
When selecting the base package in a .in file, the dependency generator will generate "unusual" dependencies. Under normal circumstances if a package "FOO" select package "BAR", the dep gen will ensure that "BAR" is build _before_ "FOO". If "FOO" does select "BASE" the dep gen will generate dependencies so that FOO will be build _before_ base, and all target packages not selecting "BASE" will be built _after_ "BASE". Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'rules/base.make')
-rw-r--r--rules/base.make72
1 files changed, 72 insertions, 0 deletions
diff --git a/rules/base.make b/rules/base.make
new file mode 100644
index 000000000..9cc44b81c
--- /dev/null
+++ b/rules/base.make
@@ -0,0 +1,72 @@
+# -*-makefile-*-
+# $Id$
+#
+# Copyright (C) 2009 by Marc Kleine-Budde <mkl@pengutronix.de>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_BASE) += base
+
+# ----------------------------------------------------------------------------
+# Get
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/base.get:
+ @$(call targetinfo)
+ @$(call touch)
+
+# ----------------------------------------------------------------------------
+# Extract
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/base.extract:
+ @$(call targetinfo)
+ @$(call touch)
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/base.prepare:
+ @$(call targetinfo)
+ @$(call touch)
+
+# ----------------------------------------------------------------------------
+# Compile
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/base.compile:
+ @$(call targetinfo)
+ @$(call touch)
+
+# ----------------------------------------------------------------------------
+# Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/base.install:
+ @$(call targetinfo)
+ @$(call touch)
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/base.targetinstall:
+ @$(call targetinfo)
+ @$(call touch)
+
+# ----------------------------------------------------------------------------
+# Clean
+# ----------------------------------------------------------------------------
+
+base_clean:
+ -rm -rf $(STATEDIR)/base.*
+
+# vim: syntax=make