summaryrefslogtreecommitdiff
path: root/v4l/firmware/Makefile
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-08-29 14:31:32 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-08-29 14:31:32 -0300
commitfc53849a0545682a680b40f9b083aeea025e80a2 (patch)
tree7db15e6100a32407db121a03a7f988df905e40c9 /v4l/firmware/Makefile
parent9e1e56145218b82420a409da6f381e3793ffb835 (diff)
downloadmediapointer-dvb-s2-fc53849a0545682a680b40f9b083aeea025e80a2.tar.gz
mediapointer-dvb-s2-fc53849a0545682a680b40f9b083aeea025e80a2.tar.bz2
Make firmware removal less verbose
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
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