path: root/arch/arm64/Makefile
diff options
authorStephen Warren <>2012-11-27 16:29:10 -0700
committerRob Herring <>2012-11-30 10:52:19 -0600
commit90b335fbbc316b58a0daee8ea792b5aa8903f2ae (patch)
tree787de651d8d7ca83614a38e2bfe4c5f27d48883c /arch/arm64/Makefile
parent4a92a385f867b26297b736e9b9cc42bd6dbf0f2b (diff)
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 <> Cc: Cc: Olof Johansson <> Cc: Russell King <> Acked-by: Catalin Marinas <> Cc: Jonas Bonn <> Cc: Cc: Aurelien Jacquiot <> Cc: Cc: Mark Salter <> Cc: Michal Simek <> Cc: Cc: Chris Zankel <> Cc: Cc: Max Filippov <> Signed-off-by: Ralf Baechle <> Signed-off-by: Stephen Warren <> Signed-off-by: Rob Herring <>
Diffstat (limited to 'arch/arm64/Makefile')
0 files changed, 0 insertions, 0 deletions