[U-Boot] kconfiglib: update to the latest version

Ulf Magnusson ulfalizer at gmail.com
Thu Aug 13 18:30:31 CEST 2015


On Thu, Aug 13, 2015 at 2:13 PM, Tom Rini <trini at konsulko.com> wrote:
> On Fri, Jun 12, 2015 at 06:56:19PM +0200, Ulf Magnusson wrote:
>
>> Corresponds to 2f319b8 in https://github.com/ulfalizer/Kconfiglib.
>>
>> Fixes:
>>
>>   - Unset user values when loading a zero-byte .config. (5e54e2c)
>>   - Ignore indented .config assignments. (f8a7510)
>>   - Do not require $srctree to be set for non-kernel projects. (d56e9c1)
>>
>> Also adds Python 3 support and has a lot of internal cleanup and
>> optimization. Makes tools/genboardscfg.py run slightly faster.
>>
>> Signed-off-by: Ulf Magnusson <ulfalizer at gmail.com>
>
> Thanks for posting this.  It however doesn't apply cleanly on top of
> current master, can you please re-update?  Thanks!
>
> --
> Tom

Seems odd since kconfiglib.py hasn't changed in the U-Boot tree, but maybe I
messed up somehow.

Maybe it'd be easier to just overwrite tools/buildman/kconfiglib.py with the
most recent version
(https://github.com/ulfalizer/Kconfiglib/blob/ba71a0eac153d05996af529a647a1ab97163802a/kconfiglib.py)
and adding the following commit message. I've verified that it works. The patch
amounts to "everything changed" and is huge (~4300 changes). :)

Please tell me if you'd rather have a patch still.


kconfiglib: update to the latest version

Corresponds to ba71a0eac153d0 (Fix _parse_block() 'parent' documentation re.
ifs.) from upstream, just adding a short header at the beginning.

Has performance improvements, code cleanup, Python 3 support, and various
small fixes, including the following:

  - Unset user values when loading a zero-byte .config. (5e54e2c)
  - Ignore indented .config assignments. (f8a7510)
  - Do not require $srctree to be set for non-kernel projects. (d56e9c1)
  - Report correct locations in the presence of continuation lines.
    (0cebc87)


Cheers,
Ulf


More information about the U-Boot mailing list