diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2019-10-03 18:39:37 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2019-10-03 18:48:11 +0200 |
commit | 95eab960fce69f29da5521297b3b9840096c055a (patch) | |
tree | d6714bb5ab296b8eeaba79168ecb7dcf2a364e0a /scripts/lib/ptxd_lib_dgen.awk | |
parent | bd33fe9afd8af95c55257d6a75f89273fd9ceb99 (diff) | |
download | ptxdist-95eab960fce69f29da5521297b3b9840096c055a.tar.gz ptxdist-95eab960fce69f29da5521297b3b9840096c055a.tar.xz |
rules: add PTX_PACKAGES_ALL and PTX_PACKAGES_DISABLED
Note: we cannot determine PTX_PACKAGES_DISABLED using PACKAGES- etc.
With the way various packages handle platform specific exceptions, this
would result in missing or dplicate packages.
Instead, list all packages in ptxd_lib_dgen and filter out the enabled
packages.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts/lib/ptxd_lib_dgen.awk')
-rw-r--r-- | scripts/lib/ptxd_lib_dgen.awk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/lib/ptxd_lib_dgen.awk b/scripts/lib/ptxd_lib_dgen.awk index 8908d77bd..2c6c80a69 100644 --- a/scripts/lib/ptxd_lib_dgen.awk +++ b/scripts/lib/ptxd_lib_dgen.awk @@ -554,6 +554,7 @@ END { print "include " PTXDIST_TEMPDIR "/pkghash.make" > DGEN_DEPS_POST; # for all pkgs + all_pkg = "" for (this_PKG in PKG_to_pkg) { this_pkg = PKG_to_pkg[this_PKG]; this_pkg_prefix = gensub(/^(host-|cross-|image-|).*/, "\\1", 1, this_pkg) @@ -565,7 +566,9 @@ END { write_deps_pkg_all(this_PKG, this_pkg) write_vars_pkg_all(this_PKG, this_pkg, this_pkg_prefix) } + all_pkg = all_pkg " " this_pkg } + print "PTX_PACKAGES_ALL := " all_pkg > DGEN_DEPS_PRE; # for active pkgs for (this_PKG in active_PKG_to_pkg) { |