OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [orpsocv2/] [scripts/] [make/] [Makefile-board-sw.inc] - Blame information for rev 596

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 542 julius
#
2
# Software compile rules for boards (mainly used during simulation)
3
#
4
 
5
# Path for the current test
6
# First check for a local copy of the test. If it doesn't exist then we
7
# default to the software tests in the root directory
8
TEST_MODULE=$(shell echo $(TEST) | cut -d "-" -f 1)
9
BOARD_SW_TEST_DIR=$(BOARD_SW_DIR)/tests/$(TEST_MODULE)/sim
10
COMMON_SW_TEST_DIR=$(COMMON_SW_DIR)/tests/$(TEST_MODULE)/sim
11
# Do this by testing for the file's existence
12
SW_TEST_DIR=$(shell if [ -e $(BOARD_SW_TEST_DIR)/$(TEST).[cS] ]; then echo $(BOARD_SW_TEST_DIR); else echo $(COMMON_SW_TEST_DIR); fi)
13
 
14
print-test-sw-dir:
15
        @echo; echo "\tTest software is in the following path"; echo;
16
        @echo $(BOARD_SW_DIR); echo;
17
        @echo $(BOARD_SW_TEST_DIR); echo;
18
        @echo $(SW_TEST_DIR); echo;
19
 
20
print-sw-tests:
21
        $(Q) $(MAKE) -C $(COMMON_SW_DIR)/lib print-sw-tests
22
        $(Q) $(MAKE) -C $(COMMON_SW_DIR)/lib print-sw-tests-subdirs
23
 
24
 
25
include $(PROJECT_ROOT)/scripts/make/Makefile-swrules.inc
26
 
27
#
28
# Board-specific clean rules
29
#
30
 
31
clean-sw:
32
        $(Q) echo; echo "\t### Cleaning simulation sw directories ###"; echo;
33
        $(Q) $(MAKE) -C $(COMMON_SW_DIR)/lib distclean

powered by: WebSVN 2.1.0

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