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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [orpsocv2/] [sw/] [Makefile.inc] - Diff between revs 393 and 397

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

Rev 393 Rev 397
Line 69... Line 69...
DRIVER_INCLUDE_PATHS +=-I$(SW_ROOT)/board/include
DRIVER_INCLUDE_PATHS +=-I$(SW_ROOT)/board/include
else
else
DRIVER_INCLUDE_PATHS +=-I$(BOARD_PATH)/sw/board/include
DRIVER_INCLUDE_PATHS +=-I$(BOARD_PATH)/sw/board/include
endif
endif
 
 
 
# For now, only apps path is in root sw directory
 
SW_APPS_PATH=$(SW_ROOT)/apps
 
 
VECTORS_OBJ ?=$(CPU_DRIVER)/crt0.o
VECTORS_OBJ ?=$(CPU_DRIVER)/crt0.o
ORPSOC_LIB ?=$(SW_ROOT)/lib/liborpsoc.a
ORPSOC_LIB ?=$(SW_ROOT)/lib/liborpsoc.a
SUPPORT_LIBS ?=$(ORPSOC_LIB)
SUPPORT_LIBS ?=$(ORPSOC_LIB)
 
 
# All driver compilations will generate an object file of this name to be
# All driver compilations will generate an object file of this name to be
Line 124... Line 127...
 
 
UTILS_BIN2VMEM=$(SW_ROOT)/utils/bin2vmem
UTILS_BIN2VMEM=$(SW_ROOT)/utils/bin2vmem
$(UTILS_BIN2VMEM):
$(UTILS_BIN2VMEM):
        $(Q)$(MAKE) -C $(SW_ROOT)/utils bin2vmem
        $(Q)$(MAKE) -C $(SW_ROOT)/utils bin2vmem
 
 
 
processed-verilog-headers: $(PROCESSED_DEFINES)
 
 
# Rule to generate C header file from Verilog file with `defines in it
# Rule to generate C header file from Verilog file with `defines in it
$(DESIGN_PROCESSED_VERILOG_DEFINES): $(DESIGN_VERILOG_DEFINES)
$(DESIGN_PROCESSED_VERILOG_DEFINES): $(DESIGN_VERILOG_DEFINES)
        $(Q)echo; echo "\t### Creating software defines header from verilog defines ###";
        $(Q)echo; echo "\t### Creating software defines header from verilog defines ###";
        $(Q)echo "//This file is autogenerated from "$<" do not change!" > $@
        $(Q)echo "//This file is autogenerated from "$<" do not change!" > $@
        $(Q)echo "#ifndef _"$(DESIGN_NAME)"_DEFINES_H_" >> $@
        $(Q)echo "#ifndef _"$(DESIGN_NAME)"_DEFINES_H_" >> $@
Line 192... Line 197...
SWDIRS=$(shell ls ../ | grep -v include)
SWDIRS=$(shell ls ../ | grep -v include)
 
 
distclean:
distclean:
        $(Q)for dir in $(SWDIRS); do if [ -d ../$$dir ]; then $(MAKE) -C ../$$dir clean; fi; done
        $(Q)for dir in $(SWDIRS); do if [ -d ../$$dir ]; then $(MAKE) -C ../$$dir clean; fi; done
        $(Q)for dir in $(SW_DRIVER_PATHS); do $(MAKE) -C $$dir clean; done
        $(Q)for dir in $(SW_DRIVER_PATHS); do $(MAKE) -C $$dir clean; done
 
        $(Q)for dir in `ls $(SW_APPS_PATH)`; do $(MAKE) -C $(SW_ROOT)/apps/$$dir clean; done
        $(Q)rm -f $(PROCESSED_DEFINES)
        $(Q)rm -f $(PROCESSED_DEFINES)

powered by: WebSVN 2.1.0

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