summaryrefslogtreecommitdiff
path: root/util/newconfig
diff options
context:
space:
mode:
authorRonald G. Minnich <rminnich@gmail.com>2003-08-06 15:14:46 +0000
committerRonald G. Minnich <rminnich@gmail.com>2003-08-06 15:14:46 +0000
commitf9ffa475aba06bd4add1da26458937f062bb25cc (patch)
treeb037c1cde46ac00ffeb0ac6b591825a45c3dee8d /util/newconfig
parent6d76ba1492abf3c33708d46f925f13e263083453 (diff)
downloadcoreboot-f9ffa475aba06bd4add1da26458937f062bb25cc.tar.xz
I mean it this time. NO more unnecessary 'dir' commands for cpus.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1082 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/newconfig')
-rw-r--r--util/newconfig/config.g7
1 files changed, 4 insertions, 3 deletions
diff --git a/util/newconfig/config.g b/util/newconfig/config.g
index 6f5d74506d..ee9d867b46 100644
--- a/util/newconfig/config.g
+++ b/util/newconfig/config.g
@@ -1070,9 +1070,10 @@ def cpudir(path):
global cpu_type
if (cpu_type and (cpu_type != path)):
fatal("Two different CPU types: %s and %s" % (cpu_type, path))
- srcdir = "/cpu/%s" % path
- dodir(srcdir, "Config.lb")
- cpu_type = path
+ if (not cpu_type):
+ srcdir = "/cpu/%s" % path
+ dodir(srcdir, "Config.lb")
+ cpu_type = path
def part(type, path, file, name):
global curimage, dirstack, partstack