Commit 3b06db3
committed
Fix DTC build regression
Root cause: $(BUILD_DTB) had $(DTC_SENTINEL) as a prerequisite, causing
the recipe's $^ to expand to both src/devices/minimal.dts and src/dtc/.git.
The preprocessor then received two input files instead of one, breaking
the device tree compilation with "Error: <stdin>:69.9-11 syntax error".
Solution: Remove $(DTC_SENTINEL) from $(BUILD_DTB) dependencies. The
BUILD_DTB target uses the system dtc command and doesn't require the
submodule. Only BUILD_DTB2C needs the DTC_SENTINEL dependency for
libfdt headers.1 parent 0bf5ee2 commit 3b06db3
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
204 | | - | |
| 204 | + | |
| 205 | + | |
205 | 206 | | |
206 | 207 | | |
207 | 208 | | |
| |||
0 commit comments