diff options
| author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2019-07-02 16:12:47 +1200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-07-03 17:00:57 +0100 |
| commit | 9a08720b3a1dbac51a5e5ecad0ab271828230358 (patch) | |
| tree | 85d4d1a867cbf18f86d9e7221228a7d273f7c378 /scripts/contrib/list-packageconfig-flags.py | |
| parent | 12d64d6d1a9b8242ebc03542e9e34ec67304d744 (diff) | |
| download | poky-9a08720b3a1dbac51a5e5ecad0ab271828230358.tar.gz | |
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-<PN> in our
configuration, so display ${PN} instead.
(From OE-Core rev: 7facaacd145c2924414ad63ddce07602a72d02c1)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/contrib/list-packageconfig-flags.py')
| -rwxr-xr-x | scripts/contrib/list-packageconfig-flags.py | 2 |
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): | |||
| 65 | for fn in data_dict: | 65 | for fn in data_dict: |
| 66 | pkgconfigflags = data_dict[fn].getVarFlags("PACKAGECONFIG") | 66 | pkgconfigflags = data_dict[fn].getVarFlags("PACKAGECONFIG") |
| 67 | pkgconfigflags.pop('doc', None) | 67 | pkgconfigflags.pop('doc', None) |
| 68 | pkgname = data_dict[fn].getVar("P") | 68 | pkgname = data_dict[fn].getVar("PN") |
| 69 | pkg_dict[pkgname] = sorted(pkgconfigflags.keys()) | 69 | pkg_dict[pkgname] = sorted(pkgconfigflags.keys()) |
| 70 | 70 | ||
| 71 | return pkg_dict | 71 | return pkg_dict |
