From: Bin Meng Date: Wed, 24 Dec 2014 13:06:40 +0800 Subject: [U-Boot] [PATCH 5/5] x86: Only compile dts file for a specific board In-Reply-To: <1419397600-7431-1-git-send-email-bmeng.cn@gmail.com> References: <1419397600-7431-1-git-send-email-bmeng.cn@gmail.com> Message-ID: <1419397600-7431-5-git-send-email-bmeng.cn@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- 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