From f9ffa475aba06bd4add1da26458937f062bb25cc Mon Sep 17 00:00:00 2001 From: "Ronald G. Minnich" Date: Wed, 6 Aug 2003 15:14:46 +0000 Subject: [PATCH] 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 --- util/newconfig/config.g | 7 ++++--- 1 file 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