summaryrefslogtreecommitdiffstats
path: root/support/scripts
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2015-06-10 15:05:10 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-06-11 22:10:07 +0200
commitaba6fa137a1b0df876c235e63804ef81f76c5d5b (patch)
treeafa9808ce423d5fe3d68228523f2e1b34aedb3fd /support/scripts
parent00cc2431701929728df5b616f2e51268053cfd2c (diff)
downloadbuildroot-aba6fa137a1b0df876c235e63804ef81f76c5d5b.tar.gz
buildroot-aba6fa137a1b0df876c235e63804ef81f76c5d5b.zip
support: gen-manual-lists.py base directory simplification
Buildroot doesn't use $srctree from what I could tell. Signed-off-by: Ulf Magnusson <ulfalizer@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'support/scripts')
-rw-r--r--support/scripts/gen-manual-lists.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/support/scripts/gen-manual-lists.py b/support/scripts/gen-manual-lists.py
index ec59030d0c..2acac2c454 100644
--- a/support/scripts/gen-manual-lists.py
+++ b/support/scripts/gen-manual-lists.py
@@ -193,11 +193,9 @@ class Buildroot:
self.base_dir = os.environ.get("TOPDIR")
self.output_dir = os.environ.get("O")
self.package_dir = os.path.join(self.base_dir, self.package_dirname)
- # The kconfiglib requires an environment variable named "srctree" to
- # load the configuration, so set it.
- os.environ.update({'srctree': self.base_dir})
self.config = kconfiglib.Config(os.path.join(self.base_dir,
- self.root_config))
+ self.root_config),
+ self.base_dir)
self._deprecated = self.config.get_symbol(self.deprecated_symbol)
self.gen_date = datetime.datetime.utcnow()
OpenPOWER on IntegriCloud