[U-Boot] [PATCH 5/5] x86: Only compile dts file for a specific board
Bin Meng
bmeng.cn at gmail.com
Wed Dec 24 06:06:40 CET 2014
Right now all dts files under arch/x86/dts are compiled. This is
not necessary so update the Makefile to only compile dts file for
a specific board.
Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
---
arch/x86/dts/Makefile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/x86/dts/Makefile b/arch/x86/dts/Makefile
index 5525094..1291e69 100644
--- a/arch/x86/dts/Makefile
+++ b/arch/x86/dts/Makefile
@@ -1,6 +1,6 @@
-dtb-y += link.dtb \
- chromebook_link.dtb \
- crownbay.dtb
+dtb-$(CONFIG_TARGET_COREBOOT) += link.dtb
+dtb-$(CONFIG_TARGET_CHROMEBOOK_LINK) += chromebook_link.dtb
+dtb-$(CONFIG_TARGET_CROWNBAY) += crownbay.dtb
targets += $(dtb-y)
--
1.8.2.1
More information about the U-Boot
mailing list