[rtems commit] bootstrap: Add special case for clean command

Sebastian Huber sebh at rtems.org
Mon Feb 17 07:46:39 UTC 2020


Module:    rtems
Branch:    master
Commit:    f1baeb0224096f8d3a5b3d675b76e91b4e538e81
Changeset: http://git.rtems.org/rtems/commit/?id=f1baeb0224096f8d3a5b3d675b76e91b4e538e81

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Thu Feb 13 13:39:43 2020 +0100

bootstrap: Add special case for clean command

The testsuites/ada/sptests/sp19/Makefile was added to document how
sptest.adb is generated.  However, this Makefile is in the way of
./bootstrap -c.  Add an exception.

---

 bootstrap | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bootstrap b/bootstrap
index 7ed592d..b3da393 100755
--- a/bootstrap
+++ b/bootstrap
@@ -315,7 +315,7 @@ clean)
   find . -name 'config.status' -print | xargs rm -f
   find . -name 'config.log' -print | xargs rm -f
   find . -name 'config.cache' -print | xargs rm -f
-  find . -name 'Makefile' -print | xargs rm -f
+  find . -name 'Makefile' -and -not -path ./testsuites/ada/sptests/sp19/Makefile -print | xargs rm -f
   find . -name '.deps' -print | xargs rm -rf
   find . -name '.libs' -print | xargs rm -rf
   find . -name 'stamp-h.in' | xargs rm -rf



More information about the vc mailing list