summaryrefslogtreecommitdiff
path: root/util/newconfig/config.g
diff options
context:
space:
mode:
Diffstat (limited to 'util/newconfig/config.g')
-rw-r--r--util/newconfig/config.g3
1 files changed, 3 insertions, 0 deletions
diff --git a/util/newconfig/config.g b/util/newconfig/config.g
index 73136baccd..26cee432dc 100644
--- a/util/newconfig/config.g
+++ b/util/newconfig/config.g
@@ -2159,10 +2159,13 @@ def writemakefile(path):
file.write("clean: ")
for i in romimages.keys():
file.write(" %s-clean" % i)
+ file.write(" base-clean")
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\n" % o.getname())
+ file.write("base-clean:\n")
+ file.write("\trm -f romcc*\n\n")
for i in buildroms:
file.write("%s:" % i.name)