diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-07-18 08:35:40 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-07-18 08:35:40 -0300 |
commit | e68d63cdeb1115d0fd27f54d413ba25c1b3216f9 (patch) | |
tree | 2fffb6017b88dca6f279f37bcfc061254c34108e /v4l/firmware/Makefile | |
parent | b7a4e5584e065e0e27aeedd1583e68edd4daea43 (diff) | |
download | mediapointer-dvb-s2-e68d63cdeb1115d0fd27f54d413ba25c1b3216f9.tar.gz mediapointer-dvb-s2-e68d63cdeb1115d0fd27f54d413ba25c1b3216f9.tar.bz2 |
A few improvements at firmware build
From: Mauro Carvalho Chehab <mchehab@infradead.org>
make firmware will now create the firmware files, using .ihex, .HEX and .H16
target files, under linux/firmware.
TODO:
- use the right names for those firmwares;
- link them with the module, if desired by enduser.
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'v4l/firmware/Makefile')
-rw-r--r-- | v4l/firmware/Makefile | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/v4l/firmware/Makefile b/v4l/firmware/Makefile new file mode 100644 index 000000000..c3624004c --- /dev/null +++ b/v4l/firmware/Makefile @@ -0,0 +1,27 @@ +TARGETS = ihex2fw ttusb-budget vicam.fw dabusb_bitstream dabusb.fw stv0672_v4 + +default: $(TARGETS) + +clean: + -rm $(TARGETS) + + +ihex2fw: ../../linux/firmware/ihex2fw.c + gcc -Wall -o $@ $< + +vicam.fw: ../../linux/firmware/vicam/firmware.H16 + ./ihex2fw -w $< $@ + +dabusb.fw: ../../linux/firmware/dabusb/firmware.HEX + ./ihex2fw $< $@ + +ttusb-budget: ../../linux/firmware/ttusb-budget/dspbootcode.bin.ihex + objcopy -Iihex -Obinary $< $@ + + +dabusb_bitstream: ../../linux/firmware/dabusb/bitstream.bin.ihex + objcopy -Iihex -Obinary $< $@ + +stv0672_v4: ../../linux/firmware/cpia2/stv0672_vp4.bin.ihex + objcopy -Iihex -Obinary $< $@ + |