summaryrefslogtreecommitdiff
path: root/v4l/firmware
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-04-14 08:46:22 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-04-14 08:46:22 -0300
commit5f440364b00d970a4550481eee1cde036014c44b (patch)
treee08ba3cbe85a8b65992f021dea904bcb871aa77d /v4l/firmware
parent616363dc9d79e05c0660696cc3581b0e8f72f1ff (diff)
downloadmediapointer-dvb-s2-5f440364b00d970a4550481eee1cde036014c44b.tar.gz
mediapointer-dvb-s2-5f440364b00d970a4550481eee1cde036014c44b.tar.bz2
Fix some issues on out-of-tree firmware building
From: Mauro Carvalho Chehab <mchehab@redhat.com> Fixes: - linux/firmware/Makefile is not used. Let's just remove it to avoid keep tracking on upstream changes on this file; - make would need to run twice, due to a missing Makefile dependency; - make -C v4l/firmware distclean were not removing everything. Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
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