<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Kconfiglib.git/allmodconfig.py, branch v10.32.0</title>
<subtitle>Fork of https://github.com/zephyrproject-rtos/Kconfiglib.git</subtitle>
<id>https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v10.32.0</id>
<link rel='self' href='https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v10.32.0'/>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/'/>
<updated>2018-12-08T02:28:52Z</updated>
<entry>
<title>Make {load,write}_config(filename=None) implement the standard behavior</title>
<updated>2018-12-08T02:28:52Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-12-07T23:41:01Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=7b4f72fa7a19b7c38312a6f6fd553ca45f04e9a6'/>
<id>urn:sha1:7b4f72fa7a19b7c38312a6f6fd553ca45f04e9a6</id>
<content type='text'>
Make the previously obligatory 'filename' argument to load_config() and
write_config() default to None, and have that implement the behavior
you'd usually want: read/write either KCONFIG_CONFIG or ".config" if
unset, and read the 'option defconfig_list' configuration file if
KCONFIG_CONFIG/".config" doesn't exist.

For load_config(), filename=None also allows the configuration file to
be missing without raising an error. load_config() returns True if a
local configuration file was loaded, which is useful to check in the
menuconfig (if no local configuration file exists, we always want to
prompt for saving the configuration when exiting).

Also add a 'verbose' argument (default True) to load_config() and
read_config() that makes them print which files were read/written in
filename=None mode.

Also generalize olddefconfig.py and oldconfig.py to not require there to
already be a local configuration file. This was a bit silly for
olddefconfig.py in particular.

Remove the examples/defconfig.py script. It's a duplicate of
olddefconfig.py.
</content>
</entry>
<entry>
<title>Add support for KCONFIG_ALLCONFIG</title>
<updated>2018-11-17T18:03:36Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-11-17T08:21:13Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=b65baa47f69ae4c3993876a7edf0da0075aa70ff'/>
<id>urn:sha1:b65baa47f69ae4c3993876a7edf0da0075aa70ff</id>
<content type='text'>
This allows some symbol values to be forced while running
all{def,no,yes,mod}config.py. See Documentation/kbuild/kconfig.txt in
the Linux kernel.

Add a helper function load_allconfig() to Kconfiglib to avoid code
duplication in the tools.

Also add functions for enabling/disabling the warning that's generated
when a symbol is assigned multiple times in a (set of) .config files and
the values differ. It should be disabled when merging the
KCONFIG_ALLCONFIG configuration file. Previously, only the warning
generated when the assigned values are identical could be disabled.

Disable all warnings related to assigning a symbol multiple times in
examples/merge_config.py as well.
</content>
</entry>
<entry>
<title>Introduce Kconfig.unique_defined_syms and Kconfig.unique_choices</title>
<updated>2018-08-22T18:05:11Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-08-22T00:25:20Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=d2c1430c91c574dc0dfd84f3652c8d9af8c77568'/>
<id>urn:sha1:d2c1430c91c574dc0dfd84f3652c8d9af8c77568</id>
<content type='text'>
These are the same as Kconfig.defined_syms and Kconfig.choices, except
duplicates are removed. Kconfig order is still preserved.

This is almost always what you want when iterating through symbols and
choices, as it potentially saves work, avoids generating duplicates when
writing output, and still preserves Kconfig order for readability.

The old attributes will be kept for backwards compatibility (maybe
there's some rare cases where they could be useful too). They're created
internally anyway.
</content>
</entry>
<entry>
<title>Massively speed up U-Boot parsing</title>
<updated>2018-07-11T12:55:25Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-07-11T08:25:41Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=71872a88641f713dfa986906e860c320a74fd84a'/>
<id>urn:sha1:71872a88641f713dfa986906e860c320a74fd84a</id>
<content type='text'>
U-Boot has a ton of definition locations for some symbols, causing a lot
of redundant work when iterating over Kconfig.defined_syms in
_build_dep(). Iterate over set(Kconfig.defined_syms) instead, wherever
possible.

This speeds up the U-Boot parsing time from 4 seconds to 0.6 seconds on
my machine.

Also update the bundled tools to iterate over set(Kconfig.defined_syms).
The performance loss is negligible even for projects that don't use
multiple definition locations.

Update the documentation to clarify that symbols/choices defined in
multiple locations appear multiple times in Kconfig.defined_syms/choices
as well.
</content>
</entry>
<entry>
<title>Simplify allnoconfig.py and allyesconfig.py</title>
<updated>2018-06-12T00:04:45Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-06-11T23:58:41Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=0327db2e642800a1608b006cd6c569f7bca0ff5c'/>
<id>urn:sha1:0327db2e642800a1608b006cd6c569f7bca0ff5c</id>
<content type='text'>
We can rely on set_value() being a no-op when setting non-bool/tristate
symbols to 0/1/2 (due to those values being invalid for other types).

Remove some long duplicated comments too.
</content>
</entry>
<entry>
<title>Mention KCONFIG_CONFIG in the all*config.py scripts</title>
<updated>2018-06-11T10:42:05Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-06-11T10:42:05Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=8035e92560b9ad7da505748cfed459ba7f45fe80'/>
<id>urn:sha1:8035e92560b9ad7da505748cfed459ba7f45fe80</id>
<content type='text'>
This environment variable was inherited from the C tools.
kconfiglib.standard_config_filename() looks at it.
</content>
</entry>
<entry>
<title>Add license tags to scripts</title>
<updated>2018-06-06T06:57:32Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-06-06T06:57:04Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=a607db8a47fde00bd301d785ba1fbb8a5eab06da'/>
<id>urn:sha1:a607db8a47fde00bd301d785ba1fbb8a5eab06da</id>
<content type='text'>
Everything's ISC.
</content>
</entry>
<entry>
<title>Add an allmodconfig implementation</title>
<updated>2018-05-30T21:45:04Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-05-30T20:31:53Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=4a71241b6c93b58ef8bc05b1f85c489b35f1d5f7'/>
<id>urn:sha1:4a71241b6c93b58ef8bc05b1f85c489b35f1d5f7</id>
<content type='text'>
Verified to produce identical output to 'make allmodconfig', for all
arches.

Will be packaged.
</content>
</entry>
</feed>
