nios2: use common rules to build built-in dtb
authorRob Herring <robh@kernel.org>
Wed, 1 Aug 2018 20:14:12 +0000 (14:14 -0600)
committerRob Herring <robh@kernel.org>
Tue, 2 Oct 2018 14:22:49 +0000 (09:22 -0500)
commit1b4f9e2b0f48bb178a53ac515654caf3bba1b273
treeb1a50dbfbf6c6a40981833a4a6e01ddf5c134673
parent118864869805123bf82d666062542440a0fda5dd
nios2: use common rules to build built-in dtb

Using the common build support for built-in dtb files just requires
adding a .dtb.o target to obj-y.

This has the side effect that CONFIG_NIOS2_DTB_SOURCE should now be just
the dts filename in arch/nios2/boot/dts/ directory. Before any path was
supported, but if you want to build in your dtb to the kernel, it should
be in the kernel tree.

Cc: Ley Foon Tan <lftan@altera.com>
Cc: nios2-dev@lists.rocketboards.org
Signed-off-by: Rob Herring <robh@kernel.org>
arch/nios2/Makefile
arch/nios2/boot/Makefile
arch/nios2/boot/dts/Makefile
arch/nios2/boot/linked_dtb.S [deleted file]