Commit 8a6e6a4
committed
Allow emcc build
Emcc generates Wasm but not a native executable, making the generated
bin2c non-executable. As a result, the device tree blob cannot be built
into a C application. To resolve this, fall back to a native compiler
gcc or clang to build bin2c.
Additionally, ensuring CC is set to gcc, clang, or emcc. Otherwise,
trigger a build error early.
Related: #5341 parent 375e96d commit 8a6e6a4
2 files changed
+12
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
15 | 18 | | |
16 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
17 | 24 | | |
| 25 | + | |
18 | 26 | | |
19 | 27 | | |
20 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
55 | 59 | | |
56 | 60 | | |
57 | 61 | | |
| |||
0 commit comments