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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [orpsocv2/] [sw/] [Makefile.inc] - Diff between revs 449 and 468

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

Rev 449 Rev 468
Line 46... Line 46...
# Special case for CPU drivers
# Special case for CPU drivers
CPU_DRIVER ?=$(SW_ROOT)/drivers/or1200
CPU_DRIVER ?=$(SW_ROOT)/drivers/or1200
 
 
# If BOARD_PATH is set, we'll first scan that path for which drivers they have
# If BOARD_PATH is set, we'll first scan that path for which drivers they have
# and will override any locally named driver directories here.
# and will override any locally named driver directories here.
ifdef BOARD_PATH
ifdef BOARD
#$(info BOARD_PATH is being used: $(BOARD_PATH))
BOARD_PATH=$(SW_ROOT)/../boards/$(BOARD)
BOARD_SPECIFIC_DRIVERS=$(shell if [ -e $(BOARD_PATH)/sw/drivers ]; then ls $(BOARD_PATH)/sw/drivers; fi)
#$(info BOARD is being used: $(BOARD_PATH))
BOARD_SW_TESTS=$(shell if [ -e $(BOARD_PATH)/sw/tests ]; then ls $(BOARD_PATH)/sw/tests; fi)
BOARD_SPECIFIC_DRIVERS=$(shell if [ -e \
 
        $(BOARD_PATH)/sw/drivers ]; then \
 
        ls $(BOARD_PATH)/sw/drivers; \
 
        fi)
 
BOARD_SW_TESTS=$(shell if [ -e $(BOARD_PATH)/sw/tests ]; then\
 
        ls $(BOARD_PATH)/sw/tests; \
 
        fi)
endif
endif
 
 
COMMON_SW_DRIVERS=$(shell ls $(SW_ROOT)/drivers )
COMMON_SW_DRIVERS=$(shell ls $(SW_ROOT)/drivers )
COMMON_SW_DRIVERS_WITHOUT_BOARD_DRIVERS=$(filter-out $(BOARD_SPECIFIC_DRIVERS),$(COMMON_SW_DRIVERS))
COMMON_SW_DRIVERS_WITHOUT_BOARD_DRIVERS=$(filter-out $(BOARD_SPECIFIC_DRIVERS),$(COMMON_SW_DRIVERS))
 
 

powered by: WebSVN 2.1.0

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