summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scripts/lib/ptxd_lib_dgen.awk12
1 files changed, 2 insertions, 10 deletions
diff --git a/scripts/lib/ptxd_lib_dgen.awk b/scripts/lib/ptxd_lib_dgen.awk
index 709545ca7..2b1253fcc 100644
--- a/scripts/lib/ptxd_lib_dgen.awk
+++ b/scripts/lib/ptxd_lib_dgen.awk
@@ -260,16 +260,8 @@ END {
#
# conditional dependency on autogen script
#
- if (!(this_pkg ~ /^host-|^cross-/)) {
- print "ifneq ($(" this_PKG "),)" > DGEN_DEPS_POST;
- print "ifneq ($(call autogen_dep,$(" this_PKG ")),)" > DGEN_DEPS_POST;
- } else {
- target_PKG = gensub(/^HOST_/, "", "", this_PKG);
- target_PKG = gensub(/^CROSS_/, "", "", target_PKG);
- # host/cross packages inherit the package name xor have their own
- print "ifneq ($(" this_PKG ")$(" target_PKG "),)" > DGEN_DEPS_POST;
- print "ifneq ($(call autogen_dep,$(" this_PKG ")$(" target_PKG ")),)" > DGEN_DEPS_POST;
- }
+ print "ifneq ($(" this_PKG "),)" > DGEN_DEPS_POST;
+ print "ifneq ($(call autogen_dep,$(" this_PKG ")),)" > DGEN_DEPS_POST;
print "$(STATEDIR)/" this_pkg ".extract: $(STATEDIR)/autogen-tools" > DGEN_DEPS_POST;
print "endif" > DGEN_DEPS_POST;
print "endif" > DGEN_DEPS_POST;