summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2011-06-10 13:55:26 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2011-06-10 13:56:12 +0200
commit09d288e224d904d804b8cea7120b1f1ff083b5b4 (patch)
tree9d44f7149115082d7a944cab1051a2ac606245e0
parentef7ffc155daa394c8aba9fb48e4b3bf9800cb045 (diff)
downloadptxdist-09d288e224d904d804b8cea7120b1f1ff083b5b4.tar.gz
ptxdist-09d288e224d904d804b8cea7120b1f1ff083b5b4.tar.xz
ptxd_lib_dgen: generate source rule for all packages
this is necessary in case the only the host package is selected Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--scripts/lib/ptxd_lib_dgen.awk10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/lib/ptxd_lib_dgen.awk b/scripts/lib/ptxd_lib_dgen.awk
index e9e6f79a0..1c0093b69 100644
--- a/scripts/lib/ptxd_lib_dgen.awk
+++ b/scripts/lib/ptxd_lib_dgen.awk
@@ -286,6 +286,11 @@ function import_PKG(this_PKG, this_pkg) {
print this_PKG "_DEVPKG = cross-" this_devpkg > DGEN_DEPS_PRE;
}
}
+ if ((this_PKG in PKG_source_url) && !(this_PKG in PKG_source_rule)) {
+ print "$(" this_PKG "_SOURCE):" > DGEN_DEPS_POST;
+ print " @$(call targetinfo)" > DGEN_DEPS_POST;
+ print " @$(call get, " this_PKG ")" > DGEN_DEPS_POST;
+ }
}
END {
@@ -315,11 +320,6 @@ END {
print "$(STATEDIR)/" this_pkg ".targetinstall: " "$(STATEDIR)/" this_pkg ".install.post" > DGEN_DEPS_POST;
print "$(STATEDIR)/" this_pkg ".targetinstall.post: " "$(STATEDIR)/" this_pkg ".targetinstall" > DGEN_DEPS_POST;
}
- if ((this_PKG in PKG_source_url) && !(this_PKG in PKG_source_rule)) {
- print "$(" this_PKG "_SOURCE):" > DGEN_DEPS_POST;
- print " @$(call targetinfo)" > DGEN_DEPS_POST;
- print " @$(call get, " this_PKG ")" > DGEN_DEPS_POST;
- }
#
# conditional dependencies