OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [orpsocv2/] [sw/] [bootrom/] [Makefile] - Diff between revs 361 and 393

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 361 Rev 393
Line 1... Line 1...
# Makefile for bootROM Verilog
# Makefile for bootROM Verilog
 
SW_ROOT=..
include ../Makefile.inc
include $(SW_ROOT)/Makefile.inc
 
 
 
 
all: bootrom.v
all: bootrom.v
 
 
%.v: %.bin ../utils/bin2vlogarray
%.v: %.bin $(SW_ROOT)/utils/bin2vlogarray
        $(Q)../utils/bin2vlogarray < $< > $@
        $(Q)$(SW_ROOT)/utils/bin2vlogarray < $< > $@
 
 
%.dis: %.o
%.dis: %.o
        $(Q)$(OR32_OBJDUMP) -d $< > $@
        $(Q)$(OR32_OBJDUMP) -d $< > $@
 
 
%.bin: %.o
%.bin: %.o
        $(Q)$(OR32_OBJCOPY) -O binary $< $@
        $(Q)$(OR32_OBJCOPY) -O binary $< $@
 
 
../utils/bin2vlogarray:
$(SW_ROOT)/utils/bin2vlogarray:
        $(Q)$(MAKE) -C ../utils bin2vlogarray
        $(Q)$(MAKE) -C $(SW_ROOT)/utils bin2vlogarray
 
 
clean:
clean:
        $(Q)rm -f *.o *.bin *.hex *.in *.dis *.v
        $(Q)rm -f *.o *.bin *.hex *.in *.dis *.v
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.