summaryrefslogtreecommitdiffstats
path: root/scripts/lib/ptxd_lib_dgen.awk
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2010-07-26 18:23:35 +0200
committerMarc Kleine-Budde <mkl@pengutronix.de>2010-08-02 08:10:00 +0200
commit43f895e7a9590cf1cdb66f467ce09d9ea4c15260 (patch)
tree573899b7301cd3788a1758528454ff92a25eff1d /scripts/lib/ptxd_lib_dgen.awk
parent6aa2da0a0c1be1a8208c6058f18c8b567c60e6d1 (diff)
downloadptxdist-43f895e7a9590cf1cdb66f467ce09d9ea4c15260.tar.gz
ptxdist-43f895e7a9590cf1cdb66f467ce09d9ea4c15260.tar.xz
[ptxd_lib_dgen] add "-" to packages detection regex
...in order to avoid false positives with this line: PYTHON_SITEPACKAGES := /usr/lib/python$(PYTHON_MAJORMINOR)/site-packages Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'scripts/lib/ptxd_lib_dgen.awk')
-rw-r--r--scripts/lib/ptxd_lib_dgen.awk2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/ptxd_lib_dgen.awk b/scripts/lib/ptxd_lib_dgen.awk
index b0c7ada20..d446412fb 100644
--- a/scripts/lib/ptxd_lib_dgen.awk
+++ b/scripts/lib/ptxd_lib_dgen.awk
@@ -85,7 +85,7 @@ $0 ~ /^include[[:space:]]+\/.*\.make$/ {
# pkg_to_PKG array that maps from lower case to upper case pkg name
# PKG_to_filename array that maps from upper case pkg name to filename
#
-$1 ~ /^[A-Z_]*PACKAGES/ {
+$1 ~ /^[A-Z_]*PACKAGES-/ {
this_PKG = gensub(/^[A-Z_]*PACKAGES-\$\(PTXCONF_([^\)]*)\)/, "\\1", "g", $1);
this_PKG = gensub(/^[A-Z0-9_]*-\$\(PTXCONF_([^\)]*)\)/, "\\1", "g", this_PKG);