https://jxself.org/git/linux-libre.git
Raw File
Tip revision: 619514e88371abc35fa42e2c2ac5be88ddc28d96 authored by Jason Self on 28 March 2013, 19:06:51 UTC
Linux-libre 3.0.71-gnu1
Tip revision: 619514e
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