浏览代码

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>
Michal Simek 8 年之前
父节点
当前提交
41f59f6853
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/microblaze/dts/Makefile

+ 1 - 1
arch/microblaze/dts/Makefile

@@ -2,7 +2,7 @@
 # SPDX-License-Identifier:	GPL-2.0+
 # SPDX-License-Identifier:	GPL-2.0+
 #
 #
 
 
-dtb-y += microblaze-generic.dtb
+dtb-y += $(shell echo $(CONFIG_DEFAULT_DEVICE_TREE)).dtb
 
 
 targets += $(dtb-y)
 targets += $(dtb-y)