forked from jerryscript-project/iotjs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.build.default.config
80 lines (80 loc) · 1.97 KB
/
.build.default.config
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
78
79
80
{
"build_option" : {
"buildtype": "debug",
"buildlib": false,
"builddir": "",
"clean": false,
"target-arch": "",
"target-os": "",
"target-board":"",
"cmake-param": [],
"compile-flag": [],
"link-flag": [],
"external-include-dir": [],
"external-static-lib": [],
"external-shared-lib": [],
"jerry-cmake-param": [],
"jerry-compile-flag": [],
"jerry-link-flag": [],
"jerry-lto": false,
"jerry-heaplimit": 256,
"jerry-memstat": false,
"no-init-submodule": false,
"no-check-tidy": false,
"no-check-test": false,
"no-parallel-build": false,
"nuttx-home": "",
"no-snapshot": false
},
"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"]
},
"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"]
},
"buildtype": {
"release": ["-O2"],
"debug": ["-g",
"-DDEBUG",
"-DENABLE_DEBUG_LOG"]
}
},
"link_flags": {
"os": {
"linux": ["-pthread"],
"darwin": [],
"nuttx": []
}
}
}