1
0
mirror of https://github.com/bebbo/amiga-gcc.git synced 2025-11-21 22:10:41 +00:00

add baseboards and check target -> us make check board=amigaos to run dejagnu execute tests

This commit is contained in:
bebbo
2019-06-13 09:48:34 +02:00
parent 06d1bcb979
commit 6173308a1f
6 changed files with 178 additions and 0 deletions

View File

@ -944,6 +944,19 @@ update-repos:
@cd projects/vlink && $(UPDATE)$(GIT_VLINK)$(ANDPULL)
# =================================================
# run gcc torture check
# =================================================
ifeq (,$(board))
board = amigaos
endif
.PHONY: check
check:
@ln -sf $(PREFIX)/m68k-amigaos/libnix $(BUILD)/gcc/m68k-amigaos/libnix
$(MAKE) -C $(BUILD)/gcc check-gcc-c "RUNTESTFLAGS=--target_board=$(board) execute.exp=* SIM=vamos" | grep '# of\|PASS\|FAIL\|===\|/amigaos-'
# =================================================
# info
# =================================================

View File

@ -0,0 +1,33 @@
# This is a list of toolchains that are supported on this board.
set_board_info target_install {m68k-amigaos}
# basic-sim.exp is a basic description for the standard Cygnus simulator.
load_base_board_description "basic-sim"
# Load the generic configuration for this board. This will define a basic
# set of routines needed by the tool to communicate with the board.
load_generic_config "sim"
# "vamos" is the name of the sim subdir.
setup_sim amigaos
# No multilib options needed by default.
process_multilib_options ""
set_board_info compiler "[find_gcc]"
set_board_info cflags "-noixemul -m68020 -fbaserel"
set_board_info ldflags ""
set_board_info ldscript "";
set_board_info sim vamos
set_board_info sim,options "-C 68020 -s 4096 -m 8192"
set_board_info gcc,stack_size 4096
set_board_info isremote 0
set_board_info slow_simulator 0
set_board_info gdb_protocol "remote"
set_board_info gdb,nosignals 1
set_board_info gdb,cannot_call_functions 1
set timeout 30

View File

@ -0,0 +1,33 @@
# This is a list of toolchains that are supported on this board.
set_board_info target_install {m68k-amigaos}
# basic-sim.exp is a basic description for the standard Cygnus simulator.
load_base_board_description "basic-sim"
# Load the generic configuration for this board. This will define a basic
# set of routines needed by the tool to communicate with the board.
load_generic_config "sim"
# "vamos" is the name of the sim subdir.
setup_sim amigaos
# No multilib options needed by default.
process_multilib_options ""
set_board_info compiler "[find_gcc]"
set_board_info cflags "-noixemul -m68020 -fbaserel32"
set_board_info ldflags ""
set_board_info ldscript "";
set_board_info sim vamos
set_board_info sim,options "-C 68020 -s 4096 -m 8192"
set_board_info gcc,stack_size 4096
set_board_info isremote 0
set_board_info slow_simulator 0
set_board_info gdb_protocol "remote"
set_board_info gdb,nosignals 1
set_board_info gdb,cannot_call_functions 1
set timeout 30

33
baseboards/amigaos-020.exp Executable file
View File

@ -0,0 +1,33 @@
# This is a list of toolchains that are supported on this board.
set_board_info target_install {m68k-amigaos}
# basic-sim.exp is a basic description for the standard Cygnus simulator.
load_base_board_description "basic-sim"
# Load the generic configuration for this board. This will define a basic
# set of routines needed by the tool to communicate with the board.
load_generic_config "sim"
# "vamos" is the name of the sim subdir.
setup_sim amigaos
# No multilib options needed by default.
process_multilib_options ""
set_board_info compiler "[find_gcc]"
set_board_info cflags "-noixemul -m68020"
set_board_info ldflags ""
set_board_info ldscript "";
set_board_info sim vamos
set_board_info sim,options "-C 68020 -s 4096 -m 8192"
set_board_info gcc,stack_size 4096
set_board_info isremote 0
set_board_info slow_simulator 0
set_board_info gdb_protocol "remote"
set_board_info gdb,nosignals 1
set_board_info gdb,cannot_call_functions 1
set timeout 30

33
baseboards/amigaos-baserel.exp Executable file
View File

@ -0,0 +1,33 @@
# This is a list of toolchains that are supported on this board.
set_board_info target_install {m68k-amigaos}
# basic-sim.exp is a basic description for the standard Cygnus simulator.
load_base_board_description "basic-sim"
# Load the generic configuration for this board. This will define a basic
# set of routines needed by the tool to communicate with the board.
load_generic_config "sim"
# "vamos" is the name of the sim subdir.
setup_sim amigaos
# No multilib options needed by default.
process_multilib_options ""
set_board_info compiler "[find_gcc]"
set_board_info cflags "-noixemul -fbaserel"
set_board_info ldflags ""
set_board_info ldscript "";
set_board_info sim vamos
set_board_info sim,options "-C 68020 -s 4096 -m 8192"
set_board_info gcc,stack_size 4096
set_board_info isremote 0
set_board_info slow_simulator 0
set_board_info gdb_protocol "remote"
set_board_info gdb,nosignals 1
set_board_info gdb,cannot_call_functions 1
set timeout 30

33
baseboards/amigaos.exp Executable file
View File

@ -0,0 +1,33 @@
# This is a list of toolchains that are supported on this board.
set_board_info target_install {m68k-amigaos}
# basic-sim.exp is a basic description for the standard Cygnus simulator.
load_base_board_description "basic-sim"
# Load the generic configuration for this board. This will define a basic
# set of routines needed by the tool to communicate with the board.
load_generic_config "sim"
# "vamos" is the name of the sim subdir.
setup_sim amigaos
# No multilib options needed by default.
process_multilib_options ""
set_board_info compiler "[find_gcc]"
set_board_info cflags "-noixemul"
set_board_info ldflags ""
set_board_info ldscript "";
set_board_info sim vamos
set_board_info sim,options "-C 68020 -s 4096 -m 8192"
set_board_info gcc,stack_size 4096
set_board_info isremote 0
set_board_info slow_simulator 0
set_board_info gdb_protocol "remote"
set_board_info gdb,nosignals 1
set_board_info gdb,cannot_call_functions 1
set timeout 30