forked from jerryscript-project/iotjs
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.target
77 lines (77 loc) · 2 KB
/
build.target
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"compile_flags": {
"os": {
"linux": ["-D__LINUX__",
"-fno-builtin"],
"darwin": ["-D__DARWIN__",
"-fno-builtin"],
"nuttx": ["-D__NUTTX__",
"-Os",
"-fno-strict-aliasing",
"-fno-strength-reduce",
"-fomit-frame-pointer"],
"tizen": ["-D__LINUX__",
"-fno-builtin"],
"tizenrt": ["-D__TIZENRT__",
"-Os",
"-fno-strict-aliasing",
"-fno-strength-reduce",
"-fomit-frame-pointer"]
},
"arch": {
"i686": ["-D__i686__",
"-D__x86__",
"-D__I686__",
"-D__X86__",
"-march=i686",
"-m32"],
"x86_64": ["-D__x86_64__",
"-D__X86_64__"],
"arm": ["-D__ARM__",
"-D__arm__",
"-mthumb",
"-fno-short-enums",
"-mlittle-endian"]
},
"board": {
"stm32f4dis": ["-mcpu=cortex-m4",
"-march=armv7e-m",
"-mfpu=fpv4-sp-d16",
"-mfloat-abi=hard",
"-DTARGET_BOARD=STM32F4DIS"],
"rpi2": ["-mcpu=cortex-a7",
"-mfpu=neon-vfpv4",
"-DTARGET_BOARD=RP2"],
"artik05x": ["-mcpu=cortex-r4",
"-mfpu=vfp3",
"-DTARGET_BOARD=artik05x"],
"artik10": ["-mcpu=cortex-a7",
"-mfpu=neon-vfpv4",
"-mfloat-abi=softfp",
"-DTARGET_BOARD=artik10"]
},
"buildtype": {
"release": [],
"debug": ["-DDEBUG",
"-DENABLE_DEBUG_LOG"]
}
},
"link_flags": {
"os": {
"linux": ["-pthread"],
"darwin": [],
"nuttx": [],
"tizen": ["-pthread"],
"tizenrt": []
}
},
"shared_libs": {
"os": {
"linux": ["m", "rt"],
"darwin": [],
"nuttx": [],
"tizen": ["m", "rt", "curl"],
"tizenrt": []
}
}
}