Commit be4dab5
committed
kernel-dtb: fatal if BOOT_FDT_FILE is unset (fixes #8083)
kernel-dtb ships a preprocessed .dts for the board's active device
tree, and it needs BOOT_FDT_FILE to know which .dtb to process. When
the board config (or a post_family_config_* hook) leaves BOOT_FDT_FILE
unset, the old code emitted a warn alert and returned, silently
producing an empty package — easy to miss in a long build log.
Turn this into a fatal error inside kernel_dtb_only_build(). The
function is only reached from kernel_prepare_build_and_package() when
KERNEL_DTB_ONLY=yes, so regular 'kernel' builds (which do ship DTBs,
just without the preprocessed .dts convenience) are unaffected.
Assisted-by: Claude:claude-opus-4-71 parent 3814034 commit be4dab5
1 file changed
Lines changed: 5 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
177 | 182 | | |
178 | 183 | | |
179 | 184 | | |
| |||
183 | 188 | | |
184 | 189 | | |
185 | 190 | | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | 191 | | |
193 | 192 | | |
194 | 193 | | |
| |||
0 commit comments