diff options
Diffstat (limited to 'tools/buildman/boards.py')
-rw-r--r-- | tools/buildman/boards.py | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/tools/buildman/boards.py b/tools/buildman/boards.py index 0bb0723b18e..cdb380f7db1 100644 --- a/tools/buildman/boards.py +++ b/tools/buildman/boards.py @@ -229,19 +229,7 @@ class KconfigScanner: 'config': <config_header_name>, } """ - # strip special prefixes and save it in a temporary file - outfd, self._tmpfile = tempfile.mkstemp() - with os.fdopen(outfd, 'w') as outf: - with open(defconfig, encoding='utf-8') as inf: - for line in inf: - colon = line.find(':CONFIG_') - if colon == -1: - outf.write(line) - else: - outf.write(line[colon + 1:]) - - self._conf.load_config(self._tmpfile) - try_remove(self._tmpfile) + self._conf.load_config(defconfig) self._tmpfile = None params = {} |