Staging
v0.5.1
https://github.com/torvalds/linux
Raw File
Tip revision: f22e6e847115abc3a0e2ad7bb18d243d42275af1 authored by Linus Torvalds on 06 April 2015, 22:39:45 UTC
Linux 4.0-rc7
Tip revision: f22e6e8
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