From a1df417e74aa6dae7352dc8cbb0ad471af5b7c69 Mon Sep 17 00:00:00 2001 From: "Michael J. Chudobiak" Date: Mon, 25 Apr 2016 10:00:44 -0400 Subject: initial Olimex linux tree from Daniel, originally Feb 3, 2016 --- linux/drivers/usb/serial/Makefile-keyspan_pda_fw | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 linux/drivers/usb/serial/Makefile-keyspan_pda_fw (limited to 'linux/drivers/usb/serial/Makefile-keyspan_pda_fw') 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 $* < $< > $@ -- cgit