Committer: Michael Beasley <mike@snafu.setup>
[mikesnafu-overlay.git] / drivers / usb / serial / Makefile-keyspan_pda_fw
blobc20baf7280115785725ed9e49281ce5eb26f3d11
2 # some rules to handle the quirks of the 'as31' assembler, like
3 # insisting upon fixed suffixes for the input and output files,
4 # and its lack of preprocessor support
6 all: keyspan_pda_fw.h
8 %.asm: %.S
9         gcc -x assembler-with-cpp -P -E -o $@ $<
11 %.hex: %.asm
12         as31 -l $<
13         mv $*.obj $@
15 %_fw.h: %.hex ezusb_convert.pl
16         perl ezusb_convert.pl $* < $< > $@