Commit 90b335f
kbuild: centralize .dts->.dtb rule
All architectures that use cmd_dtc do so in almost the same way. Create
a central build rule to avoid duplication. The one difference is that
most current uses of dtc build $(obj)/%.dtb from $(src)/dts/%.dts rather
than building the .dtb in the same directory as the .dts file. This
difference will be eliminated arch-by-arch in future patches.
MIPS is the exception here; it already uses the exact same rule as the
new common rule, so the duplicate is removed in this patch to avoid any
conflict. arch/mips changes courtesy of Ralf Baechle.
Update Documentation/kbuild to remove the explicit call to cmd_dtc from
the example, now that the rule exists in a centralized location.
Cc: Arnd Bergmann <[email protected]>
Cc: [email protected]
Cc: Olof Johansson <[email protected]>
Cc: Russell King <[email protected]>
Acked-by: Catalin Marinas <[email protected]>
Cc: Jonas Bonn <[email protected]>
Cc: [email protected]
Cc: Aurelien Jacquiot <[email protected]>
Cc: [email protected]
Cc: Mark Salter <[email protected]>
Cc: Michal Simek <[email protected]>
Cc: [email protected]
Cc: Chris Zankel <[email protected]>
Cc: [email protected]
Cc: Max Filippov <[email protected]>
Signed-off-by: Ralf Baechle <[email protected]>
Signed-off-by: Stephen Warren <[email protected]>
Signed-off-by: Rob Herring <[email protected]>1 parent 4a92a38 commit 90b335f
5 files changed
Lines changed: 11 additions & 16 deletions
File tree
- Documentation/kbuild
- arch/mips
- cavium-octeon
- lantiq/dts
- netlogic/dts
- scripts
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1175 | 1175 | | |
1176 | 1176 | | |
1177 | 1177 | | |
1178 | | - | |
1179 | | - | |
1180 | | - | |
| 1178 | + | |
| 1179 | + | |
1181 | 1180 | | |
1182 | | - | |
1183 | | - | |
| 1181 | + | |
| 1182 | + | |
1184 | 1183 | | |
1185 | | - | |
1186 | | - | |
| 1184 | + | |
| 1185 | + | |
| 1186 | + | |
| 1187 | + | |
1187 | 1188 | | |
1188 | 1189 | | |
1189 | 1190 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | 27 | | |
31 | 28 | | |
32 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
266 | 266 | | |
267 | 267 | | |
268 | 268 | | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
269 | 272 | | |
270 | 273 | | |
271 | 274 | | |
| |||
0 commit comments