From b1e02de02b3e0e83d003d0030b97da06abcdfe87 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Mon, 1 Dec 2014 23:47:46 +0000 Subject: scripts: don't skip defaultval This field is now internal and won't be seen. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- scripts/contrib/list-packageconfig-flags.py | 4 +--- 1 file changed, 1 insertion(+), 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): data = bb.cache.Cache.loadDataFull(fn, bbhandler.cooker.collection.get_file_appends(fn), bbhandler.config_data) flags = data.getVarFlags("PACKAGECONFIG") flags.pop('doc', None) - flags.pop('defaultval', None) if flags: data_dict[fn] = data @@ -78,7 +77,6 @@ def collect_pkgs(data_dict): for fn in data_dict: pkgconfigflags = data_dict[fn].getVarFlags("PACKAGECONFIG") pkgconfigflags.pop('doc', None) - pkgconfigflags.pop('defaultval', None) pkgname = data_dict[fn].getVar("P", True) pkg_dict[pkgname] = sorted(pkgconfigflags.keys()) @@ -135,7 +133,7 @@ def display_all(data_dict): print('PACKAGECONFIG %s' % packageconfig) for flag,flag_val in data_dict[fn].getVarFlags("PACKAGECONFIG").iteritems(): - if flag in ["defaultval", "doc"]: + if flag == "doc": continue print('PACKAGECONFIG[%s] %s' % (flag, flag_val)) print '' -- cgit v1.2.3