aboutsummaryrefslogtreecommitdiffhomepage
path: root/targets/gameboy-advance.json
blob: efad489cd5e28993b19aa1f2e2ffde232b98a4ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
	"llvm-target": "thumb4-none-eabi",
	"cpu": "arm7tdmi",
	"build-tags": ["gameboyadvance", "arm7tdmi", "baremetal", "linux", "arm"],
	"goos": "linux",
	"goarch": "arm",
	"compiler": "clang",
	"linker": "ld.lld",
	"rtlib": "compiler-rt",
	"cflags": [
		"-g",
		"--target=thumb4-none-eabi",
		"-mcpu=arm7tdmi",
		"-Oz",
		"-Werror",
		"-fshort-enums",
		"-Wno-macro-redefined",
		"-Qunused-arguments",
		"-fno-exceptions", "-fno-unwind-tables",
		"-ffunction-sections", "-fdata-sections"
	],
	"ldflags": [
		"--gc-sections"
	],
	"linkerscript": "targets/gameboy-advance.ld",
	"extra-files": [
		"targets/gameboy-advance.s"
	],
	"emulator": ["mgba-qt"]
}