From cfd13ea1c47b5797d4ff9cca45092fba65b2c658 Mon Sep 17 00:00:00 2001 From: Michael Olbrich Date: Sun, 6 Oct 2019 19:43:36 +0200 Subject: ptxd_lib_dgen: remove unnecessary dependency on the config files The config file is part of the hash. No need to depend on it. Signed-off-by: Michael Olbrich --- scripts/lib/ptxd_lib_dgen.awk | 9 --------- 1 file changed, 9 deletions(-) (limited to 'scripts/lib/ptxd_lib_dgen.awk') diff --git a/scripts/lib/ptxd_lib_dgen.awk b/scripts/lib/ptxd_lib_dgen.awk index eeb34fbdb..f04f16b5d 100644 --- a/scripts/lib/ptxd_lib_dgen.awk +++ b/scripts/lib/ptxd_lib_dgen.awk @@ -380,14 +380,6 @@ function write_deps_pkg_active_cfghash(this_PKG, this_pkg) { print "endif" > DGEN_DEPS_POST; } -function write_deps_pkg_active_all(this_PKG, this_pkg) { - print "ifneq ($(filter /%,$(" this_PKG "_CONFIG)),)" > DGEN_DEPS_POST; - print "ifeq ($(wildcard $(" this_PKG "_CONFIG)),)" > DGEN_DEPS_POST; - print "$(STATEDIR)/" this_pkg ".$(" this_PKG "_CFGHASH).cfghash: $(" this_PKG "_CONFIG)" > DGEN_DEPS_POST; - print "endif" > DGEN_DEPS_POST; - print "endif" > DGEN_DEPS_POST; -} - function write_deps_pkg_active(this_PKG, this_pkg, prefix) { # # default deps @@ -583,7 +575,6 @@ END { this_pkg = PKG_to_pkg[this_PKG]; this_pkg_prefix = gensub(/^(host-|cross-|image-|).*/, "\\1", 1, this_pkg) - write_deps_pkg_active_all(this_PKG, this_pkg) if (this_pkg_prefix != "image-") { write_deps_pkg_active(this_PKG, this_pkg, this_pkg_prefix) write_deps_pkg_active_virtual(this_PKG, this_pkg, this_pkg_prefix) -- cgit v1.2.3