Line 19... |
Line 19... |
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
#
|
#
|
|
|
################### Tests #####################
|
################### Tests #####################
|
# tests in this directory
|
# tests in this directory
|
OR1K_TESTS = basic cache cfg dmatest eth mmu except_test pic int_test
|
OR1K_TESTS = basic cache cfg dmatest eth mmu except_test int_test
|
IND_TESTS = exit cbasic local_global mul mycompress dhry functest mem_test
|
IND_TESTS = exit cbasic local_global mul mycompress dhry functest mem_test
|
# inst_set_test
|
# inst_set_test
|
ACV_TESTS = acv_uart acv_gpio
|
ACV_TESTS = acv_uart acv_gpio
|
MC_TESTS = mc_dram mc_ssram mc_async mc_sync
|
MC_TESTS = mc_dram mc_ssram mc_async mc_sync
|
# Subdirectory tests
|
# Subdirectory tests
|
Line 35... |
Line 35... |
TESTS = $(IND_TESTS) $(OR1K_TESTS)
|
TESTS = $(IND_TESTS) $(OR1K_TESTS)
|
bin_PROGRAMS = $(ALL_TESTS)
|
bin_PROGRAMS = $(ALL_TESTS)
|
|
|
######### Platform Independent Tests ##########
|
######### Platform Independent Tests ##########
|
exit_SOURCES = $(OR1K_SUPPORT_S) support.h exit.c
|
exit_SOURCES = $(OR1K_SUPPORT_S) support.h exit.c
|
exit_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld
|
|
cbasic_SOURCES = $(OR1K_SUPPORT_S) support.h cbasic.c
|
cbasic_SOURCES = $(OR1K_SUPPORT_S) support.h cbasic.c
|
cbasic_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld
|
|
cbasic_CFLAGS = -DXXX
|
|
local_global_SOURCES = $(OR1K_SUPPORT_S) support.h local_global.c
|
local_global_SOURCES = $(OR1K_SUPPORT_S) support.h local_global.c
|
local_global_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld
|
|
mul_SOURCES = $(OR1K_SUPPORT_S) support.h mul.c
|
mul_SOURCES = $(OR1K_SUPPORT_S) support.h mul.c
|
mul_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld
|
|
dhry_SOURCES = $(OR1K_SUPPORT_S) support.h dhry.h dhry.c
|
dhry_SOURCES = $(OR1K_SUPPORT_S) support.h dhry.h dhry.c
|
dhry_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld
|
|
mycompress_SOURCES = $(OR1K_SUPPORT_S) support.h mycompress.c
|
mycompress_SOURCES = $(OR1K_SUPPORT_S) support.h mycompress.c
|
mycompress_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld
|
|
functest_SOURCES = $(OR1K_SUPPORT_S) support.h functest.c
|
functest_SOURCES = $(OR1K_SUPPORT_S) support.h functest.c
|
functest_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld
|
|
mem_test_SOURCES = $(OR1K_SUPPORT_S) support.h mem_test.c
|
mem_test_SOURCES = $(OR1K_SUPPORT_S) support.h mem_test.c
|
mem_test_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld
|
|
inst_set_test_SOURCES = $(OR1K_SUPPORT_S) support.h inst_set_test.c
|
inst_set_test_SOURCES = $(OR1K_SUPPORT_S) support.h inst_set_test.c
|
inst_set_test_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld
|
|
###############################################
|
###############################################
|
|
|
|
if OR1K_EXCEPT
|
|
|
|
exit_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld
|
|
cbasic_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld
|
|
local_global_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld
|
|
mul_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld
|
|
dhry_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld
|
|
mycompress_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld
|
|
functest_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld
|
|
mem_test_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld
|
|
inst_set_test_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld
|
|
|
######### MC Tests ############################
|
######### MC Tests ############################
|
mc_dram_SOURCES = except_mc.S mc_common.h mc_common.c mc_dram.h mc_dram.c
|
mc_dram_SOURCES = except_mc.S mc_common.h mc_common.c mc_dram.h mc_dram.c
|
mc_dram_LDFLAGS = -T$(OR1K_SRCDIR)except_mc.ld
|
mc_dram_LDFLAGS = -T$(OR1K_SRCDIR)except_mc.ld
|
mc_ssram_SOURCES = except_mc.S mc_common.h mc_common.c mc_ssramh mc_ssram.c
|
mc_ssram_SOURCES = except_mc.S mc_common.h mc_common.c mc_ssramh mc_ssram.c
|
mc_ssram_LDFLAGS = -T$(OR1K_SRCDIR)except_mc.ld
|
mc_ssram_LDFLAGS = -T$(OR1K_SRCDIR)except_mc.ld
|
Line 66... |
Line 68... |
mc_async_LDFLAGS = -T$(OR1K_SRCDIR)except_mc.ld
|
mc_async_LDFLAGS = -T$(OR1K_SRCDIR)except_mc.ld
|
mc_sync_SOURCES = except_mc.S mc_common.h mc_common.c mc_sync.h mc_sync.c
|
mc_sync_SOURCES = except_mc.S mc_common.h mc_common.c mc_sync.h mc_sync.c
|
mc_sync_LDFLAGS = -T$(OR1K_SRCDIR)except_mc.ld
|
mc_sync_LDFLAGS = -T$(OR1K_SRCDIR)except_mc.ld
|
###############################################
|
###############################################
|
|
|
if OR1K_EXCEPT
|
|
|
|
####### Platform Dependent Tests - OR1K ########
|
####### Platform Dependent Tests - OR1K ########
|
basic_SOURCES = basic.S spr_defs.h
|
basic_SOURCES = basic.S spr_defs.h
|
basic_LDFLAGS = -T$(OR1K_SRCDIR)/xess.ld
|
basic_LDFLAGS = -T$(OR1K_SRCDIR)/xess.ld
|
basic_LDADD =
|
basic_LDADD =
|
cache_SOURCES = $(OR1K_SUPPORT_S) support.h cache.c
|
cache_SOURCES = $(OR1K_SUPPORT_S) support.h cache.c
|
cache_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld
|
cache_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld
|
cfg_SOURCES = cfg.S spr_defs.h
|
cfg_SOURCES = cfg.S spr_defs.h
|
cfg_LDFLAGS = -T$(OR1K_SRCDIR)/xess.ld
|
cfg_LDFLAGS = -T$(OR1K_SRCDIR)/xess.ld
|
cfg_LDADD =
|
cfg_LDADD =
|
pic_SOURCES = $(OR1K_SUPPORT_S) support.h pic.c
|
|
pic_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld
|
|
dmatest_SOURCES = $(OR1K_SUPPORT_S) support.h dmatest.c
|
dmatest_SOURCES = $(OR1K_SUPPORT_S) support.h dmatest.c
|
dmatest_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld
|
dmatest_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld
|
eth_SOURCES = $(OR1K_SUPPORT_S) support.h eth.c
|
eth_SOURCES = $(OR1K_SUPPORT_S) support.h eth.c
|
eth_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld
|
eth_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld
|
acv_uart_SOURCES = $(OR1K_SUPPORT_S) support.h acv_uart.c
|
acv_uart_SOURCES = $(OR1K_SUPPORT_S) support.h acv_uart.c
|
Line 102... |
Line 100... |
|
|
##### Platform Dependent Tests - not OR1K #####
|
##### Platform Dependent Tests - not OR1K #####
|
basic_SOURCES =
|
basic_SOURCES =
|
cache_SOURCES =
|
cache_SOURCES =
|
cfg_SOURCES =
|
cfg_SOURCES =
|
pic_SOURCES =
|
|
dmatest_SOURCES =
|
dmatest_SOURCES =
|
eth_SOURCES =
|
eth_SOURCES =
|
acv_uart_SOURCES =
|
acv_uart_SOURCES =
|
acv_gpio_SOURCES =
|
acv_gpio_SOURCES =
|
mmu_SOURCES =
|
mmu_SOURCES =
|
except_SOURCES =
|
except_test_SOURCES =
|
int_test_SOURCES =
|
int_test_SOURCES =
|
###############################################
|
###############################################
|
|
|
endif
|
endif
|
|
|