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 e69155ec78..2f45bbae49 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>
 
 	* sysdeps/unix/getdents.c: Remove file.
diff --git a/Makerules b/Makerules
index d184be6d20..d0e98bb452 100644
--- a/Makerules
+++ b/Makerules
@@ -1330,6 +1330,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