mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-08-07 18:25:14 +00:00
Makefile.include (clean): ignore rm -f failing (e.g., on "core")
rm -f can still fail, e.g., if trying to delete a directory. If there was, say, a directory called "core", a "make clean" would therefore only try to delete the files listed in the first command but not proceed with the rest of the cleanup. "make clean" itself failing may also affect any outside build process that invokes it.
This commit is contained in:
@@ -192,7 +192,7 @@ rm -f $(@:.o=.$$$$)
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f *~ *core core *.srec \
|
-rm -f *~ *core core *.srec \
|
||||||
*.lst *.map \
|
*.lst *.map \
|
||||||
*.cprg *.bin *.data contiki*.a *.firmware core-labels.S *.ihex *.ini \
|
*.cprg *.bin *.data contiki*.a *.firmware core-labels.S *.ihex *.ini \
|
||||||
*.ce *.co
|
*.ce *.co
|
||||||
|
Reference in New Issue
Block a user