summaryrefslogtreecommitdiffstats
path: root/rules/other
diff options
context:
space:
mode:
authorRemy Bohmer <linux@bohmer.net>2010-06-30 21:28:13 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2010-07-01 10:57:19 +0200
commit360f73777af1661d85ae0aa2434b6acde22da9fa (patch)
treee70730d7496b50174d80df3b784b66497ba7e04f /rules/other
parentbfb6f10270ead20767a1bb0257bbf854828163f9 (diff)
downloadptxdist-360f73777af1661d85ae0aa2434b6acde22da9fa.tar.gz
ptxdist-360f73777af1661d85ae0aa2434b6acde22da9fa.tar.xz
Fix dependencies to files in projectroot
When files in the projectroot directory are being used in install_copy() and install_alternative() then there are no dependencies to these files. This is being solved by storing all dependencies of the targetinstall stage in a seperate state/<package>.deps file. These state/<package>.deps files are included in the top-level ptxdist makefile and this makes ptxdist properly handle the dependencies. Signed-off-by: Remy Bohmer <linux@bohmer.net> Signed-off-by: Bart vdr. Meulen <bartvdrmeulen@gmail.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/other')
-rw-r--r--rules/other/Toplevel.make3
1 files changed, 3 insertions, 0 deletions
diff --git a/rules/other/Toplevel.make b/rules/other/Toplevel.make
index 121822927..35785e0cd 100644
--- a/rules/other/Toplevel.make
+++ b/rules/other/Toplevel.make
@@ -86,6 +86,9 @@ PTX_PACKAGES_SELECTED := \
# might be non existent
include $(wildcard $(POSTRULESDIR)/*.make)
include $(wildcard $(PROJECTPOSTRULESDIR)/*.make)
+# install_alternative and install_copy has some configuration defined
+# dependencies. include the files specifying these dependencies.
+include $(wildcard $(STATEDIR)/*.deps)
# ----------------------------------------------------------------------------
# just the "print" target