make: build device trees with obj-dtb-y and pbl-dtb-y
To build an object file from a device tree currently we currently
have to add them to the Makefile twice, once to dtb-y and once to
obj-y. This patch introduces obj-dtb-y and pbl-dtb-y to directly
compile a device tree object file for inclusion in the barebox binary
or the pbl respectively.
The now unneeded dtb-y targets are removed.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 28ce918 commit fb60ba388b892518c6a4e599565627bf1fcb8861
@Sascha Hauer Sascha Hauer authored on 31 Jul 2014
Showing 4 changed files
View
arch/arm/dts/Makefile
View
arch/arm/dts/empty.c 0 → 100644
View
arch/mips/dts/Makefile
View
scripts/Makefile.lib