summaryrefslogtreecommitdiff
path: root/examples
AgeCommit message (Collapse)Author
2015-06-20Make all examples Python 3-friendly.Ulf Magnusson
print -> print(). Skip 'from __future__ import print_function' by only having a single argument (to avoid interpretation as tuples in Python 2). Keeps the examples simple.
2015-05-24Add example that mirrors defconfig and oldconfig.Ulf Magnusson
From https://github.com/ulfalizer/Kconfiglib/issues/15. Getting the output to match up exactly requires emulating each step, due to Kconfig subtleties related to which symbols have been assigned values by the user. The output might differ with other approaches, but this is not a bug.
2015-03-13Fix examples/allnoconfig.py testsuite hang with v4.0-rc3.Ulf Magnusson
Settings the user value to 'y' does not guarantee that the (actual) value will become 'y', as the symbol's visibility still acts as an upper bound on the value.
2015-03-12Use Symbol.is_allnoconfig_y() in the examplesPhilip Craig
This is required for the 'make allnoconfig' tests.
2012-12-13Rename some APIs to be more consistent and intuitive.Ulf Magnusson
2012-12-12Re-enable set_user_value() warning for symbols with no prompts.Ulf Magnusson
Disable warnings in allnoconfig_simpler.py instead.
2012-12-11Rename APIs to be more consistent and intuitive.Ulf Magnusson
2012-12-11Add a grep'ing example.Ulf Magnusson
2012-12-11Include allnoconfig_simpler.py in test suite.Ulf Magnusson
Also update some comments to reflect optimizations.
2012-12-08Add a simpler allnoconfig example.Ulf Magnusson
2012-12-08Clarify allno/yesconfig.py.Ulf Magnusson
2012-12-06Move examples into separate directory.Ulf Magnusson