forked from jerryscript-project/iotjs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.config
117 lines (117 loc) · 3.15 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
{
"build_option" : {
"buildtype": "debug",
"buildlib": false,
"builddir": "",
"clean": false,
"config": "",
"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,
"sysroot": "",
"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"],
"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": []
}
},
"module": {
"always": ["buffer", "console", "events", "fs", "module", "timers"],
"include": ["assert", "dns", "http", "net", "stream", "testdriver"],
"exclude": {
"all": [],
"linux": ["adc", "ble", "dgram", "gpio", "i2c", "pwm", "spi", "uart"],
"nuttx": ["adc", "dgram", "gpio", "i2c", "pwm", "stm32f4dis", "uart"],
"darwin": [],
"tizen": ["adc", "ble", "dgram", "gpio", "i2c", "pwm", "spi", "uart", "https"],
"tizenrt": []
}
}
}