Add new format to parsed by kconfig to support
U and UL.
When config is 'int',if this symbol have 'range'
key words and bigger or qeual to 0,the int macro
will have suffix 'U'.
When config is 'hex',the suffix is 'U'.
When config have 'help' keywords,and the help contents
have the string "64-bit integer",it will add suffix 'L'.
V1->V2:
1.modified the comments to let it much eaisy to understand.
2.change the values' name protected_foot,protected_tai to
guard_begin and guard_end.
3.add regex to identified the '64-bit' and 'integer'.
V2->V3:
1.remove kconfiglib internal attribute
2.use config_string to avoid no active config entry
Tracked-On: #861
Signed-off-by: Huihuang Shi <huihuang.shi@intel.com>
This patch introduces some scripts that takes a Kconfig script and generates
.config or config.h. These scripts are general and can be used by the
hypervisor, dm, tools, etc. as long as proper make targets are added.
Note: Kconfiglib by Ulf Magnusson is ISC licensed.
v4 -> v5:
* Add minimalconfig which creates a defconfig by minimizing a given .config.
v3 -> v4:
* silentoldconfig now properly generate a .config if an old one does not
exist.
v2 -> v3:
* Add license info and the permission notice of Kconfiglib.
* Mention the input Kconfig in the script descriptions.
v1 -> v2:
* Drop kconfiglib.py. The getting started guide will be updated accordingly
and dependency checks will be added to Makefile in the following patches.
Signed-off-by: Junjie Mao <junjie.mao@intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>