From: Paul Eggleton Date: Mon, 3 Dec 2018 21:57:35 +0000 (+1300) Subject: list-packageconfig-flags: print PN instead of P X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b64ece6a36e04c2c356ad8d1b56fe4ef42ed759f;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git list-packageconfig-flags: print PN instead of P 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- in our configuration, so display ${PN} instead. Signed-off-by: Paul Eggleton --- diff --git a/scripts/contrib/list-packageconfig-flags.py b/scripts/contrib/list-packageconfig-flags.py index b1d6c852d86..d6de4dc84d2 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