Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0
0002 
0003 # some rules to handle the quirks of the 'as31' assembler, like
0004 # insisting upon fixed suffixes for the input and output files,
0005 # and its lack of preprocessor support
0006 
0007 all: keyspan_pda_fw.h
0008 
0009 %.asm: %.S
0010         gcc -x assembler-with-cpp -P -E -o $@ $<
0011 
0012 %.hex: %.asm
0013         as31 -l $<
0014         mv $*.obj $@
0015 
0016 %_fw.h: %.hex ezusb_convert.pl
0017         perl ezusb_convert.pl $* < $< > $@