summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2014-12-01 23:47:46 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-12-03 12:23:56 +0000
commit77eebccb0b3e5922a9905c6741def2b40657abae (patch)
treed2da84174b4e5e674aa2e864b0f3f2c3b8ee5401
parente89a5d046e4aa3b78ce0240f4310a9f0e79580a6 (diff)
downloadpoky-77eebccb0b3e5922a9905c6741def2b40657abae.tar.gz
scripts: don't skip defaultval
This field is now internal and won't be seen. (From OE-Core rev: b1e02de02b3e0e83d003d0030b97da06abcdfe87) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-xscripts/contrib/list-packageconfig-flags.py4
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 ''