summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2018-12-04 10:57:35 +1300
committerPaul Eggleton <paul.eggleton@linux.intel.com>2019-07-02 16:11:06 +1200
commitb64ece6a36e04c2c356ad8d1b56fe4ef42ed759f (patch)
tree05cf8140f0ea01ebb8dee4fcdcb9e01dd4ed5404
parentdc6f669e7b7dbb7b97f8cea4b5f57b2bbb9bc885 (diff)
downloadopenembedded-core-contrib-paule/ddimage-fixes2.tar.gz
openembedded-core-contrib-paule/ddimage-fixes2.tar.bz2
openembedded-core-contrib-paule/ddimage-fixes2.zip
list-packageconfig-flags: print PN instead of Ppaule/ddimage-fixes2
P (which is ${PN}-${PV}) isn't terribly useful in this context - we don't really care what the version is, but we do want to know what the recipe is so we can find it or set PACKAGECONFIG_pn-<PN> in our configuration, so display ${PN} instead. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
-rwxr-xr-xscripts/contrib/list-packageconfig-flags.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/contrib/list-packageconfig-flags.py b/scripts/contrib/list-packageconfig-flags.py
index b1d6c852d8..d6de4dc84d 100755
--- a/scripts/contrib/list-packageconfig-flags.py
+++ b/scripts/contrib/list-packageconfig-flags.py
@@ -65,7 +65,7 @@ def collect_pkgs(data_dict):
for fn in data_dict:
pkgconfigflags = data_dict[fn].getVarFlags("PACKAGECONFIG")
pkgconfigflags.pop('doc', None)
- pkgname = data_dict[fn].getVar("P")
+ pkgname = data_dict[fn].getVar("PN")
pkg_dict[pkgname] = sorted(pkgconfigflags.keys())
return pkg_dict