diff options
author | Ulf Magnusson <ulfalizer@gmail.com> | 2015-06-10 15:05:10 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-06-11 22:10:07 +0200 |
commit | aba6fa137a1b0df876c235e63804ef81f76c5d5b (patch) | |
tree | afa9808ce423d5fe3d68228523f2e1b34aedb3fd /support/scripts | |
parent | 00cc2431701929728df5b616f2e51268053cfd2c (diff) | |
download | buildroot-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.py | 6 |
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() |