Line 27... |
Line 27... |
#### Public License along with this source; if not, download it ####
|
#### Public License along with this source; if not, download it ####
|
#### from http://www.opencores.org/lgpl.shtml ####
|
#### from http://www.opencores.org/lgpl.shtml ####
|
#### ####
|
#### ####
|
######################################################################
|
######################################################################
|
|
|
DESIGN_NAME=orpsoc
|
DESIGN_NAME ?=orpsoc
|
|
|
OR32_TOOL_PREFIX=or32-elf-
|
OR32_TOOL_PREFIX=or32-elf-
|
|
|
OR32_LD=$(OR32_TOOL_PREFIX)ld
|
OR32_LD=$(OR32_TOOL_PREFIX)ld
|
OR32_AS=$(OR32_TOOL_PREFIX)as
|
OR32_AS=$(OR32_TOOL_PREFIX)as
|
Line 134... |
Line 134... |
DESIGN_PROCESSED_VERILOG_DEFINES=$(SW_ROOT)/lib/include/$(DESIGN_NAME)-defines.h
|
DESIGN_PROCESSED_VERILOG_DEFINES=$(SW_ROOT)/lib/include/$(DESIGN_NAME)-defines.h
|
|
|
OR1200_VERILOG_DEFINES=$(RTL_VERILOG_INCLUDE_DIR)/or1200_defines.v
|
OR1200_VERILOG_DEFINES=$(RTL_VERILOG_INCLUDE_DIR)/or1200_defines.v
|
OR1200_PROCESSED_VERILOG_DEFINES=$(SW_ROOT)/lib/include/or1200-defines.h
|
OR1200_PROCESSED_VERILOG_DEFINES=$(SW_ROOT)/lib/include/or1200-defines.h
|
|
|
PROCESSED_DEFINES=$(DESIGN_PROCESSED_VERILOG_DEFINES) $(OR1200_PROCESSED_VERILOG_DEFINES)
|
PROCESSED_DEFINES +=$(DESIGN_PROCESSED_VERILOG_DEFINES) $(OR1200_PROCESSED_VERILOG_DEFINES)
|
|
|
# Mother makefile can set this if extra things are needed to be built and
|
# Mother makefile can set this if extra things are needed to be built and
|
# compild with a certain app.
|
# compild with a certain app.
|
ELF_DEPENDS ?=
|
ELF_DEPENDS ?=
|
|
|
Line 248... |
Line 248... |
$(Q)for dir in `ls $(SW_APPS_PATH)`; do $(MAKE) -C $(SW_ROOT)/apps/$$dir clean; done
|
$(Q)for dir in `ls $(SW_APPS_PATH)`; do $(MAKE) -C $(SW_ROOT)/apps/$$dir clean; done
|
$(Q)for dir in `ls $(SW_APPS_PATH)`; do $(MAKE) -C $(SW_ROOT)/apps/$$dir clean; done
|
$(Q)for dir in `ls $(SW_APPS_PATH)`; do $(MAKE) -C $(SW_ROOT)/apps/$$dir clean; done
|
$(Q)$(MAKE) -C $(SW_ROOT)/lib clean
|
$(Q)$(MAKE) -C $(SW_ROOT)/lib clean
|
$(Q)$(MAKE) -C $(SW_ROOT)/bootrom clean
|
$(Q)$(MAKE) -C $(SW_ROOT)/bootrom clean
|
$(Q)rm -f $(PROCESSED_DEFINES)
|
$(Q)rm -f $(PROCESSED_DEFINES)
|
$(Q)$(MAKE) -C $(SW_ROOT)/utils clean
|
|