Blame view

kernel/linux-rt-4.4.41/drivers/usb/serial/Makefile-keyspan_pda_fw 353 Bytes
5113f6f70   김현기   kernel add
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
  
  # 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 $* < $< > $@