summaryrefslogtreecommitdiff
path: root/v4l/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'v4l/firmware')
-rw-r--r--v4l/firmware/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/v4l/firmware/Makefile b/v4l/firmware/Makefile
index 272b2e668..7362bfe20 100644
--- a/v4l/firmware/Makefile
+++ b/v4l/firmware/Makefile
@@ -10,7 +10,7 @@ clean:
-rm -f $(TARGETS)
distclean: clean
- -for i in $(DIRS); do if [ -d $$i ]; then rmdir $$i; fi; done
+ -for i in $(DIRS); do if [ -d $$i ]; then rm -rf $$i; fi; done
install: default
-for i in $(DIRS); do if [ ! -d /lib/firmware/$$i ]; then mkdir -p /lib/firmware/$$i; fi; done
@@ -26,10 +26,10 @@ mkdir:
ihex2fw: ../../linux/firmware/ihex2fw.c
gcc -Wall -o $@ $<
-vicam/firmware.fw: ../../linux/firmware/vicam/firmware.H16 mkdir
+vicam/firmware.fw: ../../linux/firmware/vicam/firmware.H16 mkdir ihex2fw
./ihex2fw -w $< $@
-dabusb/firmware.fw: ../../linux/firmware/dabusb/firmware.HEX mkdir
+dabusb/firmware.fw: ../../linux/firmware/dabusb/firmware.HEX mkdir ihex2fw
./ihex2fw $< $@
ttusb-budget/dspbootcode.bin: ../../linux/firmware/ttusb-budget/dspbootcode.bin.ihex mkdir