aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2017-02-15 08:22:04 +0100
committerMichal Simek <michal.simek@xilinx.com>2017-06-19 15:52:39 +0200
commit41f59f6853915291c7451c9e38c196fd5a90bf6a (patch)
tree329fdf98892719e5c3825fe9268b528f2b84b80e
parent22ea278a979e5a73d301eff560296315a8bc2e46 (diff)
downloadu-boot-41f59f6853915291c7451c9e38c196fd5a90bf6a.zip
u-boot-41f59f6853915291c7451c9e38c196fd5a90bf6a.tar.gz
u-boot-41f59f6853915291c7451c9e38c196fd5a90bf6a.tar.bz2
microblaze: Build only DTBs for selected target
Adding more targets to repository requires some additional changes not simply just adding config file, defconfig and dts. This patch makes this process easier by building only particular DTB which is selected via defconfig that Makefile doesn't need to contain all dts files in the repository. Reported-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
-rw-r--r--arch/microblaze/dts/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/microblaze/dts/Makefile b/arch/microblaze/dts/Makefile
index 5e70d9e..f80d8fd 100644
--- a/arch/microblaze/dts/Makefile
+++ b/arch/microblaze/dts/Makefile
@@ -2,7 +2,7 @@
# SPDX-License-Identifier: GPL-2.0+
#
-dtb-y += microblaze-generic.dtb
+dtb-y += $(shell echo $(CONFIG_DEFAULT_DEVICE_TREE)).dtb
targets += $(dtb-y)