diff options
author | Michael J. Chudobiak <mjc@avtechpulse.com> | 2016-04-25 10:00:44 -0400 |
---|---|---|
committer | Michael J. Chudobiak <mjc@avtechpulse.com> | 2016-04-25 10:00:44 -0400 |
commit | a1df417e74aa6dae7352dc8cbb0ad471af5b7c69 (patch) | |
tree | c34b2311e37ea31db153c90cb8f4570374d05e78 /linux/drivers/usb/serial/Makefile-keyspan_pda_fw |
initial Olimex linux tree from Daniel, originally Feb 3, 2016
Diffstat (limited to 'linux/drivers/usb/serial/Makefile-keyspan_pda_fw')
-rw-r--r-- | linux/drivers/usb/serial/Makefile-keyspan_pda_fw | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/linux/drivers/usb/serial/Makefile-keyspan_pda_fw b/linux/drivers/usb/serial/Makefile-keyspan_pda_fw new file mode 100644 index 00000000..c20baf72 --- /dev/null +++ b/linux/drivers/usb/serial/Makefile-keyspan_pda_fw @@ -0,0 +1,16 @@ + +# some rules to handle the quirks of the 'as31' assembler, like +# insisting upon fixed suffixes for the input and output files, +# and its lack of preprocessor support + +all: keyspan_pda_fw.h + +%.asm: %.S + gcc -x assembler-with-cpp -P -E -o $@ $< + +%.hex: %.asm + as31 -l $< + mv $*.obj $@ + +%_fw.h: %.hex ezusb_convert.pl + perl ezusb_convert.pl $* < $< > $@ |