summaryrefslogtreecommitdiff
path: root/tools/buildman
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-07-20 02:48:13 +0300
committerSimon Glass <sjg@chromium.org>2023-07-24 18:34:10 +0300
commit6a754c67520705eef890b88c38f1fbbd3e3c1067 (patch)
tree3c22699d29bdd336545232dd62d210bb3f8d1a52 /tools/buildman
parent2ef88d634c50407ea748a4c8680bca03687a1a76 (diff)
downloadu-boot-6a754c67520705eef890b88c38f1fbbd3e3c1067.tar.xz
buildman: Drop dead code to handle :CONFIG_ construct
This is not needed anymore, so drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 252ed872 ("kconfig: remove meaningless prefixes in defconfig files")
Diffstat (limited to 'tools/buildman')
-rw-r--r--tools/buildman/boards.py14
1 files changed, 1 insertions, 13 deletions
diff --git a/tools/buildman/boards.py b/tools/buildman/boards.py
index 0bb0723b18..cdb380f7db 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 = {}