From df85845aa2d10efb5487d8ef69edfccb16f60526 Mon Sep 17 00:00:00 2001 From: Michael Olbrich Date: Sat, 4 Apr 2020 15:04:38 +0200 Subject: ptxd_lib_dgen: don't match PTXCONF_ in makefiles The pattern is only there to parse ptxconfig etc. Processing it in other files confuses the parser and produces strange effects, e.g. for the _CFGHASH. Signed-off-by: Michael Olbrich --- scripts/lib/ptxd_lib_dgen.awk | 3 +++ 1 file changed, 3 insertions(+) (limited to 'scripts') diff --git a/scripts/lib/ptxd_lib_dgen.awk b/scripts/lib/ptxd_lib_dgen.awk index e00a96e1e..0ca895d5a 100644 --- a/scripts/lib/ptxd_lib_dgen.awk +++ b/scripts/lib/ptxd_lib_dgen.awk @@ -204,6 +204,9 @@ $1 ~ /^PTX_MAP_._SOURCE/ { # record yes and module packages # $1 ~ /^PTXCONF_/ { + if (old_filename ~ /.+\/rules\/.+\.make/) + next; + this_PKG = gensub(/^PTXCONF_/, "", "g", $1); if ($2 ~ /^[ym]$/ && this_PKG in PKG_to_pkg) -- cgit v1.2.3