From 1dad71bf324188de47036afd738ef9737ce23066 Mon Sep 17 00:00:00 2001 From: Li-Ta Lo Date: Tue, 13 Apr 2004 21:08:28 +0000 Subject: back out incorrect commit on config.g git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1501 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- util/newconfig/config.g | 37 ------------------------------------- 1 file changed, 37 deletions(-) (limited to 'util') diff --git a/util/newconfig/config.g b/util/newconfig/config.g index 4e98e02ed3..aa48ead780 100644 --- a/util/newconfig/config.g +++ b/util/newconfig/config.g @@ -1941,42 +1941,6 @@ def writeldoptions(image): file.write("%s = %s;\n" % (o.name, getformated(o.name, image))) file.close() -# Write doxygen file. -def writedoxygenfile(image): - doxyscriptbase = os.path.join(treetop, "src/config/doxyscript.base") - doxyfilepath = os.path.join(image.gettargetdir(), "LinuxBIOSDoc.config") - print "Creating", doxyfilepath - file = safe_open(doxyfilepath, 'w+') - -# FIXME. Should be computing .c once. Fix this in objectrules.append - file.write("INPUT= \\\n") - for irule, init in image.getinitobjectrules().items(): - source = init[1] - if (source[-2:] != '.c'): # no suffix. Build name. - base = init[0][:-2] - source = os.path.join(source, base) + ".c" - file.write("%s \\\n" % source) - for objrule, obj in image.getobjectrules().items(): - source = obj[1] - if (source[-2:] != '.c'): # no suffix. Build name. - base = obj[0][:-2] - source = os.path.join(source, base) + ".c" - file.write("%s \\\n" % source) - for driverrule, driver in image.getdriverrules().items(): - source = driver[1] - if (source[-2:] != '.c'): # no suffix. Build name. - base = driver[0][:-2] - source = os.path.join(source, base) + ".c" - file.write("%s \\\n" % source) - - fp = safe_open(doxyscriptbase, 'r') - doxylines = fp.readlines() - if (debug): - print "DOXYLINES ",doxylines - for line in doxylines: - file.write(line) - file.close(); - def dumptree(part, lvl): debug.info(debug.dumptree, "DUMPTREE ME is") part.dumpme(lvl) @@ -2092,7 +2056,6 @@ if __name__=='__main__': writeinitincludes(image) writeimagemakefile(image) writeldoptions(image) - writedoxygenfile(image) writemakefilesettings(target_dir) writemakefile(target_dir) -- cgit v1.2.3