about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Makerules1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 1e22a45c47..fc74310545 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-04-24  Andreas Jaeger  <aj@suse.de>
+
+	* Makerules (common-clean): Also remove gen-as-const-headers
+	files.
+
 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
 
 	* Makerules (native-compile): Do not change working directory for
diff --git a/Makerules b/Makerules
index a9b178608c..72667dbc70 100644
--- a/Makerules
+++ b/Makerules
@@ -1328,6 +1328,7 @@ common-clean: common-mostlyclean
 	-rm -f $(objpfx)*.d $(objpfx)*.dt
 	-rm -fr $(addprefix $(objpfx),$(generated-dirs))
 	-rm -f $(addprefix $(common-objpfx),$(common-generated))
+	-rm -f $(gen-as-const-headers:%.sym=$(common-objpfx)%.h)
 
 # Produce a file `stubs' which contains `#define __stub_FUNCTION'
 # for each function which is a stub.  We grovel over all the .d files