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
This commit is contained in:
Ronald G. Minnich 2003-08-06 15:14:46 +00:00
parent 6d76ba1492
commit f9ffa475ab
1 changed files with 4 additions and 3 deletions

View File

@ -1070,9 +1070,10 @@ def cpudir(path):
global cpu_type global cpu_type
if (cpu_type and (cpu_type != path)): if (cpu_type and (cpu_type != path)):
fatal("Two different CPU types: %s and %s" % (cpu_type, path)) fatal("Two different CPU types: %s and %s" % (cpu_type, path))
srcdir = "/cpu/%s" % path if (not cpu_type):
dodir(srcdir, "Config.lb") srcdir = "/cpu/%s" % path
cpu_type = path dodir(srcdir, "Config.lb")
cpu_type = path
def part(type, path, file, name): def part(type, path, file, name):
global curimage, dirstack, partstack global curimage, dirstack, partstack