From: Michal Simek Date: Wed, 15 Feb 2017 07:22:04 +0000 (+0100) Subject: microblaze: Build only DTBs for selected target X-Git-Tag: v2017.07-rc3~54^2~15 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=41f59f6853915291c7451c9e38c196fd5a90bf6a;p=u-boot 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 Signed-off-by: Michal Simek --- diff --git a/arch/microblaze/dts/Makefile b/arch/microblaze/dts/Makefile index 5e70d9e110..f80d8fd850 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)