mirror of
				https://github.com/openhwgroup/cvw
				synced 2025-02-11 06:05:49 +00:00 
			
		
		
		
	Update testbench makefile to generate memfile even in elf file does not end in .elf
This commit is contained in:
		
							parent
							
								
									cda490c911
								
							
						
					
					
						commit
						1932d8bc5d
					
				@ -2,11 +2,11 @@
 | 
			
		||||
# David_Harris@hmc.edu 3 July 2024
 | 
			
		||||
# SPDX-License-Identifier: Apache-2.0 WITH SHL-2.1
 | 
			
		||||
 | 
			
		||||
%.elf.memfile: %.elf
 | 
			
		||||
%.memfile: %
 | 
			
		||||
	riscv64-unknown-elf-elf2hex  --bit-width $(if $(findstring rv32,$*),32,64) --input $< --output $@
 | 
			
		||||
 | 
			
		||||
%.elf.objdump.addr: %.elf.objdump
 | 
			
		||||
%.objdump.addr: %.objdump
 | 
			
		||||
	extractFunctionRadix.sh $<
 | 
			
		||||
 | 
			
		||||
%.elf.objdump: %.elf
 | 
			
		||||
%.objdump: %
 | 
			
		||||
	riscv64-unknown-elf-objdump -S -D $< > $@
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user