URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 468 |
Rev 480 |
|
|
# Expecting BOARD_SW_ROOT already set to indicate how far below directory we're
|
# Expecting BOARD_SW_ROOT already set to indicate how far below directory we're
|
# in the board's software root path is.
|
# in the board's software root path is.
|
|
|
# Root from the board's sw/ path
|
# Root from the board's sw/ path
|
PROJ_ROOT=../../../..
|
PROJ_ROOT=../../../..
|
|
|
# Figure out actual path the common software directory
|
# Figure out actual path the common software directory
|
SW_ROOT=$(BOARD_SW_ROOT)/$(PROJ_ROOT)/sw
|
SW_ROOT=$(BOARD_SW_ROOT)/$(PROJ_ROOT)/sw
|
|
|
# Set the BOARD_PATH to point to the root of this board build
|
# Set the BOARD_PATH to point to the root of this board build
|
BOARD=xilinx/ml501
|
BOARD=xilinx/ml501
|
|
|
# Set RTL_VERILOG_INCLUDE_DIR so software
|
# Set RTL_VERILOG_INCLUDE_DIR so software
|
RTL_VERILOG_INCLUDE_DIR=$(shell pwd)/$(BOARD_SW_ROOT)/../rtl/verilog/include
|
RTL_VERILOG_INCLUDE_DIR=$(shell pwd)/$(BOARD_SW_ROOT)/../rtl/verilog/include
|
|
|
# Set the processor capability flags
|
# Set the processor capability flags
|
# This doesn't work! :-( Need to figure out way to set these and have them
|
MARCH_FLAGS =-mhard-mul -mhard-div -mhard-float
|
# carry through to things like the liborpsoc driver modules etc.
|
|
#MARCH_FLAGS =-mhard-mul -mhard-div -msoft-float
|
|
#MARCH_FLAGS =-mhard-mul -msoft-div -msoft-float
|
#MARCH_FLAGS =-mhard-mul -msoft-div -msoft-float
|
#export MARCH_FLAGS
|
export MARCH_FLAGS
|
|
|
# Finally include the main software include file
|
# Finally include the main software include file
|
|
|
include $(SW_ROOT)/Makefile.inc
|
include $(SW_ROOT)/Makefile.inc
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.