forked from jerryscript-project/iotjs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.config
96 lines (96 loc) · 2.42 KB
/
build.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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
{
"build_option" : {
"buildtype": "release",
"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"],
"openwrt": ["-D__LINUX__",
"-D_GNU_SOURCE"],
"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__"],
"mipsel": [],
"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": ["-DDEBUG",
"-DENABLE_DEBUG_LOG"]
}
},
"link_flags": {
"os": {
"linux": ["-pthread"],
"openwrt": ["-pthread","-lm"],
"darwin": [],
"nuttx": []
}
},
"shared_libs": {
"os": {
"linux": ["m", "rt"],
"darwin": [],
"openwrt": [],
"nuttx": []
}
},
"module": {
"always": ["buffer", "console", "events", "fs", "module", "timers"],
"include": ["assert", "dns", "http", "net", "stream", "testdriver"],
"exclude": ["adc", "ble", "dgram", "gpio", "i2c", "pin", "pwm", "uart"]
}
}