summaryrefslogtreecommitdiff
path: root/util/newconfig/config.g
diff options
context:
space:
mode:
authorGreg Watson <jarrah@users.sourceforge.net>2003-07-23 18:52:17 +0000
committerGreg Watson <jarrah@users.sourceforge.net>2003-07-23 18:52:17 +0000
commit6ba9ff837b9989bd227937e927409c87a3b3a6a3 (patch)
treec435c820c241c83e08e75a5e7845519e5bab858e /util/newconfig/config.g
parent6430c011f4630595f620a0792f2d7b57dc065d86 (diff)
downloadcoreboot-6ba9ff837b9989bd227937e927409c87a3b3a6a3.tar.xz
add clean to Makefile
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1012 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/newconfig/config.g')
-rw-r--r--util/newconfig/config.g7
1 files changed, 7 insertions, 0 deletions
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):