File Manager

Current Path : /usr/lib/modules/5.15.0-91-generic/build/drivers/usb/serial/
Upload File :
Current File : //usr/lib/modules/5.15.0-91-generic/build/drivers/usb/serial/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 $* < $< > $@

File Manager Version 1.0, Coded By Lucas
Email: hehe@yahoo.com