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

Subversion Repositories openrisc

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

Only display areas with differences | Details | Blame | View Log

Rev 393 Rev 479
# Makefile for bootROM Verilog
# Makefile for bootROM Verilog
SW_ROOT=..
SW_ROOT=..
include $(SW_ROOT)/Makefile.inc
include $(SW_ROOT)/Makefile.inc
 
 
 
# Whenever PRELOAD_RAM is defined on command line, we probably want the bootrom
 
# to be jumping to reset instead of doing a full boot preload.
 
ifeq ($(PRELOAD_RAM),1)
 
OR32_CFLAGS += -DPRELOAD_RAM
 
endif
 
 
all: bootrom.v
all: bootrom.v
%.v: %.bin $(SW_ROOT)/utils/bin2vlogarray
%.v: %.bin $(SW_ROOT)/utils/bin2vlogarray
        $(Q)$(SW_ROOT)/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 $< $@
$(SW_ROOT)/utils/bin2vlogarray:
$(SW_ROOT)/utils/bin2vlogarray:
        $(Q)$(MAKE) -C $(SW_ROOT)/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.