Staging
v0.5.1
https://github.com/torvalds/linux
Raw File
Tip revision: 2cc14f52aeb78ce3f29677c2de1f06c0e91471ab authored by Linus Torvalds on 27 November 2023, 03:59:33 UTC
Linux 6.7-rc3
Tip revision: 2cc14f5
Makefile-keyspan_pda_fw
# SPDX-License-Identifier: GPL-2.0

# 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