URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 408 |
Rev 468 |
# Makefile for bootROM Verilog
|
# Makefile for bootROM Verilog
|
# We will do it by building the main one, and applying our local board's
|
# We will do it by building the main one, and applying our local board's
|
# settings.
|
# settings.
|
# To rebuild after board.h is changed, a clean must be done first.
|
# To rebuild after board.h is changed, a clean must be done first.
|
|
|
# Set the path to our board's root directory
|
# Set the path to our board's root directory
|
BOARD_SW_ROOT=..
|
BOARD_SW_ROOT=..
|
|
|
include $(BOARD_SW_ROOT)/Makefile.inc
|
include $(BOARD_SW_ROOT)/Makefile.inc
|
|
|
all: bootrom.v
|
all: bootrom.v
|
|
|
# Copy the one build in the root software path to here.
|
# Copy the one build in the root software path to here.
|
bootrom.v: $(SW_ROOT)/bootrom/bootrom.v
|
bootrom.v: $(SW_ROOT)/bootrom/bootrom.v
|
$(Q)cp -v $< .
|
$(Q)cp -v $< .
|
|
|
export BOARD_PATH
|
# Export BOARD so the Make script in the root software path knows we're to
|
|
|
# Pass BOARD_PATH so the Make script in the root software path knows we're to
|
|
# use our board.h file, not theirs.
|
# use our board.h file, not theirs.
|
|
export BOARD
|
|
|
$(SW_ROOT)/bootrom/bootrom.v:
|
$(SW_ROOT)/bootrom/bootrom.v:
|
$(Q)$(MAKE) -C $(SW_ROOT)/bootrom bootrom.v
|
$(Q)$(MAKE) -C $(SW_ROOT)/bootrom bootrom.v
|
|
|
clean:
|
clean:
|
$(Q)rm -f *.o *.bin *.hex *.in *.dis *.v
|
$(Q)rm -f *.o *.bin *.hex *.in *.dis *.v
|
$(Q)$(MAKE) -C $(SW_ROOT)/bootrom clean
|
$(Q)$(MAKE) -C $(SW_ROOT)/bootrom clean
|
|
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.