summaryrefslogtreecommitdiff
path: root/kconfiglib.py
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2015-06-23 09:05:47 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2015-06-23 09:05:47 +0200
commita7e0b22c1251c110a0cc0fd30baaada0731b9856 (patch)
treec01c6ccdbd489763877af9be840d914e6543bcaf /kconfiglib.py
parentd60592d90ced1a714891b018df8246711d6b7269 (diff)
load_config() only expands existing env. variables.
Diffstat (limited to 'kconfiglib.py')
-rw-r--r--kconfiglib.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/kconfiglib.py b/kconfiglib.py
index d6aebad..6fbd733 100644
--- a/kconfiglib.py
+++ b/kconfiglib.py
@@ -386,10 +386,10 @@ class Config(object):
and sets the user value of FOO to 'n'. The C implementation works the
same way.
- filename: The .config file to load. $-references to environment
- variables will be expanded. For scripts to work even when an
- alternative build directory is used with the Linux kernel, you need
- to refer to the top-level kernel directory with "$srctree".
+ filename: The .config file to load. $-references to existing
+ environment variables will be expanded. For scripts to work even when
+ an alternative build directory is used with the Linux kernel, you
+ need to refer to the top-level kernel directory with "$srctree".
replace (default: True): True if the configuration should replace the
old configuration; False if it should add to it."""