Staging
v0.5.1
https://github.com/torvalds/linux
Raw File
Tip revision: ddf28352b80c86754a6424e3a61e8bdf9213b3c7 authored by Linus Torvalds on 04 September 2011, 22:45:10 UTC
Linux 3.1-rc5
Tip revision: ddf2835
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