From patchwork Wed Dec 24 05:06:40 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bin Meng X-Patchwork-Id: 423850 X-Patchwork-Delegate: sjg@chromium.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 38397140081 for ; Wed, 24 Dec 2014 16:07:34 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 059A24B695; Wed, 24 Dec 2014 06:07:29 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CMgv+qHfMN10; Wed, 24 Dec 2014 06:07:28 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 03F314B6E1; Wed, 24 Dec 2014 06:07:24 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 1EC394B6D7 for ; Wed, 24 Dec 2014 06:07:18 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yN-qDDFAgN3i for ; Wed, 24 Dec 2014 06:07:18 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-pa0-f51.google.com (mail-pa0-f51.google.com [209.85.220.51]) by theia.denx.de (Postfix) with ESMTPS id B88154B6CE for ; Wed, 24 Dec 2014 06:07:10 +0100 (CET) Received: by mail-pa0-f51.google.com with SMTP id ey11so9356841pad.38 for ; Tue, 23 Dec 2014 21:07:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:in-reply-to:references; bh=3tle58euufIrKTE8UVNnJQHQHh6HBdDDT4xOxMn6gmE=; b=cFrXGHko0Ic6xlGg5KiSfXZQ6UTUOFQP0R9FywO9umvFdAomYUukH3BbedxIZiO76B n0IoRyiBUY1jphlP5E8r7CaQHIAGpBAbB91Yqu+CLLRmzoY+dohXsq8kAAtM1mgGO+BV VLcJHFZU5wkfElE2ghM3HFCSqKxsvdth/MTEy5IeIv6Cgbf81EmYnjlq+2F+qi0nbExc JIUn/riZP+4FOgsdzbxkyigoXURBF6/tAm1WljnKykVSC1XqQs3ejLk9pgQFFjY4T0e4 /Jtq3EpCnrSks87S8EWY9Lehv2HuFtoVnGvCSS7K9oSVIajHze/s1b+eFFtZoTragHdf docA== X-Received: by 10.66.164.234 with SMTP id yt10mr49948789pab.110.1419397629491; Tue, 23 Dec 2014 21:07:09 -0800 (PST) Received: from localhost ([106.120.101.38]) by mx.google.com with ESMTPSA id kg2sm20660925pbc.72.2014.12.23.21.07.07 (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 23 Dec 2014 21:07:08 -0800 (PST) From: Bin Meng To: Simon Glass , U-Boot Mailing List Date: Wed, 24 Dec 2014 13:06:40 +0800 Message-Id: <1419397600-7431-5-git-send-email-bmeng.cn@gmail.com> X-Mailer: git-send-email 1.8.2.1 In-Reply-To: <1419397600-7431-1-git-send-email-bmeng.cn@gmail.com> References: <1419397600-7431-1-git-send-email-bmeng.cn@gmail.com> Subject: [U-Boot] [PATCH 5/5] x86: Only compile dts file for a specific board X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.13 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@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)