From patchwork Thu Feb 14 21:03:58 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Warren X-Patchwork-Id: 220498 X-Patchwork-Delegate: twarren@nvidia.com 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 CA2F22C007C for ; Fri, 15 Feb 2013 08:04:18 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 06B774A12B; Thu, 14 Feb 2013 22:04:13 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de 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 AHbVHuPRlKdD; Thu, 14 Feb 2013 22:04:12 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 4EA594A12E; Thu, 14 Feb 2013 22:04:01 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id AF5114A0F2 for ; Thu, 14 Feb 2013 22:03:55 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de 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 WOs6zeBbbAsZ for ; Thu, 14 Feb 2013 22:03:53 +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-f44.google.com (mail-pa0-f44.google.com [209.85.220.44]) by theia.denx.de (Postfix) with ESMTPS id 294574A0FC for ; Thu, 14 Feb 2013 22:03:52 +0100 (CET) Received: by mail-pa0-f44.google.com with SMTP id kp1so1466191pab.31 for ; Thu, 14 Feb 2013 13:03:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references:x-nvconfidentiality; bh=Pr6hmEFVm5zridwXrAIvr/SQoKDPos4/OhzWYlW6RaI=; b=SLSiDrs+KbjmMnufiJ1NfEGKdi69LNZhEL+V6QSM30hJs5dbXC25qR9ge00OnfhiEA od7I5iFjGqaifjeMwYv2nKTdxB1cuUySHXPQxhX8yMmsotg2a9uNboyUKz0QeCw2Ft4n EcpiiE7NnGdd9yYTKaYz3x9CMLRm5BlixA6ZVwWJnrZSJq1eQIHeygwj/8EAYbNBqyRc gmJ30jWCxEIC6aluvZn/MdxY648YYC36w66na2xOYb94op/lRa+JnM72bjrQobGQHkrO gjYCdqdb+zHUf1f6EtmOacaP8FP0VmSdnCSGo67+GFpxEhoZR0085sBvWOl8Ssc94iRs fE1g== X-Received: by 10.68.236.10 with SMTP id uq10mr188180pbc.77.1360875830874; Thu, 14 Feb 2013 13:03:50 -0800 (PST) Received: from localhost.localdomain (ip68-230-103-25.ph.ph.cox.net. [68.230.103.25]) by mx.google.com with ESMTPS id ab1sm2339773pbd.37.2013.02.14.13.03.47 (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 14 Feb 2013 13:03:49 -0800 (PST) From: Tom Warren To: u-boot@lists.denx.de Date: Thu, 14 Feb 2013 14:03:58 -0700 Message-Id: <1360875841-30594-2-git-send-email-twarren@nvidia.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1360875841-30594-1-git-send-email-twarren@nvidia.com> References: <1360875841-30594-1-git-send-email-twarren@nvidia.com> X-NVConfidentiality: public Cc: afleming@freescale.com, Tom Warren , swarren@nvidia.com, twarren.nvidia@gmail.com Subject: [U-Boot] [PATCH v4 1/4] fdt: Add dts/dtsi file include paths to DTC command line X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 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 This requires a version of dtc that can handle the 'i' argument Signed-off-by: Tom Warren --- v4: new dts/Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dts/Makefile b/dts/Makefile index 922c78c..2ef31e9 100644 --- a/dts/Makefile +++ b/dts/Makefile @@ -50,7 +50,7 @@ DT_BIN := $(obj)dt.dtb $(DT_BIN): $(TOPDIR)/board/$(VENDOR)/dts/$(DEVICE_TREE).dts rc=$$( \ cat $< | $(CPP) -P $(DTS_CPPFLAGS) - | \ - { { $(DTC) -R 4 -p 0x1000 -O dtb -o ${DT_BIN} - 2>&1 ; \ + { { $(DTC) -R 4 -p 0x1000 -i $(TOPDIR)/board/$(VENDOR)/dts -i $(TOPDIR)/arch/$(ARCH)/dts -O dtb -o ${DT_BIN} - 2>&1 ; \ echo $$? >&3 ; } | \ grep -v '^DTC: dts->dtb on file' ; \ } 3>&1 1>&2 ) ; \