From: Ulf Magnusson Date: Wed, 10 Jun 2015 13:05:10 +0000 (+0200) Subject: support: gen-manual-lists.py base directory simplification X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=aba6fa137a1b0df876c235e63804ef81f76c5d5b;p=buildroot.git support: gen-manual-lists.py base directory simplification Buildroot doesn't use $srctree from what I could tell. Signed-off-by: Ulf Magnusson Signed-off-by: Thomas Petazzoni --- 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()