https://jxself.org/git/linux-libre.git
Raw File
Tip revision: 5e11cb73de6ecdddd3eaeea09267e41514c30add authored by Jason Self on 13 July 2011, 03:29:55 UTC
Linux-libre 2.6.32.43-gnu1
Tip revision: 5e11cb7
Makefile-keyspan_pda_fw

# 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 $* < $< > $@
back to top