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

Subversion Repositories fwrisc

[/] [fwrisc/] [trunk/] [ve/] [fwrisc/] [tests/] [fwrisc_tests.mk] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 mballance
 
2
FWRISC_TESTS_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
3
 
4
ifneq (1,$(RULES))
5
 
6
SRC_DIRS += $(FWRISC_TESTS_DIR)
7
SRC_DIRS += $(FWRISC_TESTS_DIR)/riscv-compliance/riscv-target/spike
8
SRC_DIRS += $(FWRISC_TESTS_DIR)/riscv-compliance/riscv-test-env/p
9
SRC_DIRS += $(FWRISC_TESTS_DIR)/riscv-compliance/riscv-test-env
10
SRC_DIRS += $(FWRISC_TESTS_DIR)/riscv-compliance/riscv-test-suite/rv32i/src
11
 
12
FWRISC_TESTS_SRC := $(notdir $(wildcard $(FWRISC_TESTS_DIR)/*.cpp))
13
 
14
else # Rules
15
 
16
$(FWRISC_TESTS_SRC:.cpp=.o) : vl_translate.d
17
 
18
libfwrisc_tests.o : $(FWRISC_TESTS_SRC:.cpp=.o)
19
        $(Q)$(LD) -r -o $@ $(FWRISC_TESTS_SRC:.cpp=.o)
20
 
21
 
22
endif

powered by: WebSVN 2.1.0

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