diff options
-rwxr-xr-x | scripts/contrib/list-packageconfig-flags.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/contrib/list-packageconfig-flags.py b/scripts/contrib/list-packageconfig-flags.py index 598b5c3fc6..2f3b8b06a6 100755 --- a/scripts/contrib/list-packageconfig-flags.py +++ b/scripts/contrib/list-packageconfig-flags.py | |||
@@ -65,7 +65,6 @@ def get_recipesdata(bbhandler, preferred): | |||
65 | data = bb.cache.Cache.loadDataFull(fn, bbhandler.cooker.collection.get_file_appends(fn), bbhandler.config_data) | 65 | data = bb.cache.Cache.loadDataFull(fn, bbhandler.cooker.collection.get_file_appends(fn), bbhandler.config_data) |
66 | flags = data.getVarFlags("PACKAGECONFIG") | 66 | flags = data.getVarFlags("PACKAGECONFIG") |
67 | flags.pop('doc', None) | 67 | flags.pop('doc', None) |
68 | flags.pop('defaultval', None) | ||
69 | if flags: | 68 | if flags: |
70 | data_dict[fn] = data | 69 | data_dict[fn] = data |
71 | 70 | ||
@@ -78,7 +77,6 @@ def collect_pkgs(data_dict): | |||
78 | for fn in data_dict: | 77 | for fn in data_dict: |
79 | pkgconfigflags = data_dict[fn].getVarFlags("PACKAGECONFIG") | 78 | pkgconfigflags = data_dict[fn].getVarFlags("PACKAGECONFIG") |
80 | pkgconfigflags.pop('doc', None) | 79 | pkgconfigflags.pop('doc', None) |
81 | pkgconfigflags.pop('defaultval', None) | ||
82 | pkgname = data_dict[fn].getVar("P", True) | 80 | pkgname = data_dict[fn].getVar("P", True) |
83 | pkg_dict[pkgname] = sorted(pkgconfigflags.keys()) | 81 | pkg_dict[pkgname] = sorted(pkgconfigflags.keys()) |
84 | 82 | ||
@@ -135,7 +133,7 @@ def display_all(data_dict): | |||
135 | print('PACKAGECONFIG %s' % packageconfig) | 133 | print('PACKAGECONFIG %s' % packageconfig) |
136 | 134 | ||
137 | for flag,flag_val in data_dict[fn].getVarFlags("PACKAGECONFIG").iteritems(): | 135 | for flag,flag_val in data_dict[fn].getVarFlags("PACKAGECONFIG").iteritems(): |
138 | if flag in ["defaultval", "doc"]: | 136 | if flag == "doc": |
139 | continue | 137 | continue |
140 | print('PACKAGECONFIG[%s] %s' % (flag, flag_val)) | 138 | print('PACKAGECONFIG[%s] %s' % (flag, flag_val)) |
141 | print '' | 139 | print '' |