From 6ba9ff837b9989bd227937e927409c87a3b3a6a3 Mon Sep 17 00:00:00 2001 From: Greg Watson Date: Wed, 23 Jul 2003 18:52:17 +0000 Subject: add clean to Makefile git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1012 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- util/newconfig/config.g | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'util') diff --git a/util/newconfig/config.g b/util/newconfig/config.g index 598443ec0c..191a185254 100644 --- a/util/newconfig/config.g +++ b/util/newconfig/config.g @@ -1598,6 +1598,13 @@ def writemakefile(path): file.write("\tif (cd %s; \\\n" % o.getname()) file.write("\t\tmake linuxbios.rom)\\\n"); file.write("\tthen true; else exit 1; fi;\n\n") + file.write("clean: ") + for i in romimages.keys(): + file.write("%s-clean " % i) + file.write("\n\n") + for i, o in romimages.items(): + file.write("%s-clean:\n" % o.getname()) + file.write("\t(cd %s; make clean)\n" % o.getname()) file.close() def writeinitincludes(image): -- cgit v1.2.3