On Tue, Nov 27, 2012 at 11:29:10PM +0000, Stephen Warren wrote: > From: Stephen Warren <swarren@xxxxxxxxxx> > > 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 <arnd@xxxxxxxx> > Cc: linux-arm-kernel@xxxxxxxxxxxxxxxxxxx > Cc: Olof Johansson <olof@xxxxxxxxx> > Cc: Russell King <linux@xxxxxxxxxxxxxxxx> > Cc: Catalin Marinas <catalin.marinas@xxxxxxx> > Cc: Jonas Bonn <jonas@xxxxxxxxxxxx> > Cc: linux@xxxxxxxxxxxxxxxxxx > Cc: Aurelien Jacquiot <a-jacquiot@xxxxxx> > Cc: linux-c6x-dev@xxxxxxxxxxxxx > Cc: Mark Salter <msalter@xxxxxxxxxx> > Cc: Michal Simek <monstr@xxxxxxxxx> > Cc: microblaze-uclinux@xxxxxxxxxxxxxx > Cc: Chris Zankel <chris@xxxxxxxxxx> > Cc: linux-xtensa@xxxxxxxxxxxxxxxx > Cc: Max Filippov <jcmvbkbc@xxxxxxxxx> > Signed-off-by: Ralf Baechle <ralf@xxxxxxxxxxxxxx> > Signed-off-by: Stephen Warren <swarren@xxxxxxxxxx> Acked-by: Catalin Marinas <catalin.marinas@xxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-arch" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html