summaryrefslogtreecommitdiff
path: root/v4l/firmware/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'v4l/firmware/Makefile')
-rw-r--r--v4l/firmware/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/v4l/firmware/Makefile b/v4l/firmware/Makefile
index e018ad92a..a1717922d 100644
--- a/v4l/firmware/Makefile
+++ b/v4l/firmware/Makefile
@@ -7,13 +7,13 @@ TARGETS = ihex2fw vicam/firmware.fw dabusb/firmware.fw dabusb/bitstream.bin ttus
default: $(TARGETS)
clean:
- -rm $(TARGETS)
+ @for i in $(TARGETS); do if [ -e $$i ]; then rm $$i; fi; done
distclean: clean
- -rmdir $(DIRS)
+ @for i in $(DIR); do if [ -d $$i ]; then rmdir $$i; fi; done
install: default
- -for i in $(DIRS); do mkdir /lib/firmware/$$i; done
+ -for i in $(DIRS); do if mkdir /lib/firmware/$$i; done
-for i in $(TARGETS); do cp $$i /lib/firmware/$$i; done