From patchwork Fri Aug 11 08:52:45 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pantelis Antoniou X-Patchwork-Id: 800476 X-Patchwork-Delegate: sjg@chromium.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="e9WPmCcc"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3xTJr90FxDz9t2W for ; Fri, 11 Aug 2017 19:00:41 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id D1694C21D94; Fri, 11 Aug 2017 08:58:21 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id E3F65C21DC5; Fri, 11 Aug 2017 08:56:20 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id C5A92C21C59; Fri, 11 Aug 2017 08:55:54 +0000 (UTC) Received: from mail-wm0-f47.google.com (mail-wm0-f47.google.com [74.125.82.47]) by lists.denx.de (Postfix) with ESMTPS id 7EC71C21DCC for ; Fri, 11 Aug 2017 08:55:48 +0000 (UTC) Received: by mail-wm0-f47.google.com with SMTP id i66so41959785wmg.0 for ; Fri, 11 Aug 2017 01:55:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=BfPrsXstcrD3KdUftfviQXjDy7saKHUA6kqkummKJuw=; b=e9WPmCcc+ABXGeFMnE6cEs8Mt9w2CWiL+GPSK+QfS9qfDIrvAmyb1HTOXhVIIn4Ov3 o8dqIpfqxd0B4sG4nS/PP6erJW/M89DiFRYpGj0plH6QcvBvvb2hh1CZc0TBLiGR1CZo r4jgJbef0CrqGazn7nS94DqRuEFWqkoaP+29M= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=BfPrsXstcrD3KdUftfviQXjDy7saKHUA6kqkummKJuw=; b=LBPT9+n3Gqtqa9JlijX/yPFKzM2j8icMihKZV279BRGgw1uFYEVVwAWn02KnmSsYTg XrJp2Lywm/v6XhEjSj0f3BtpObKxmca+nPQcuHfKsZjLu55Btwsk7FhAVZgs/ZcGC8cH 41wrlObRs/D0Do7M6h/c2wPTYxF8HNjnfwtQ3VQfIJsRJy4qftE7TONfzNd7N0vE7e9l km3w0Z/mlkoAIXZrSTLtxAj5KDhaJiwz5GUqbPrzP1TSjnYaJMePpgNgx/5TIsv2/WAi a3GC8B9W2UdbsIi4UuVK4tbP9TcZQD73a5zMHtffNAXKqYy5U+kp2CZ+nzLoOor6sat/ LhbA== X-Gm-Message-State: AHYfb5gcFOk7gsIpzF6RDk7QpaZCvAkAT7OoguD/NGYL2epihxLflGCH T8/uXQW54bfqoDVi X-Received: by 10.28.211.193 with SMTP id k184mr9853767wmg.21.1502441748203; Fri, 11 Aug 2017 01:55:48 -0700 (PDT) Received: from localhost.localdomain ([195.97.110.117]) by smtp.gmail.com with ESMTPSA id o71sm759811wmg.15.2017.08.11.01.55.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 11 Aug 2017 01:55:47 -0700 (PDT) From: Pantelis Antoniou To: Tom Rini Date: Fri, 11 Aug 2017 11:52:45 +0300 Message-Id: <1502441568-22896-8-git-send-email-pantelis.antoniou@konsulko.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1502441568-22896-1-git-send-email-pantelis.antoniou@konsulko.com> References: <1502441568-22896-1-git-send-email-pantelis.antoniou@konsulko.com> Cc: Marek Vasut , Pantelis Antoniou , Tero Kristo , u-boot@lists.denx.de, Maxime Ripard , Stefan Roese , Alan Ott Subject: [U-Boot] [PATCH v2 07/10] dtbo: make dtbos special X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Special rule for dtbo generation Signed-off-by: Pantelis Antoniou Reviewed-by: Simon Glass --- scripts/Makefile.lib | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index 9ce47b4..2a7ed70 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib @@ -321,6 +321,23 @@ $(obj)/%.dtb: $(src)/%.dts FORCE dtc-tmp = $(subst $(comma),_,$(dot-target).dts.tmp) +# DTCO +# --------------------------------------------------------------------------- + +quiet_cmd_dtco = DTCO $@ +# Rule for objects only; does not put specific u-boot include at the end +# No generation of assembly file either +# Modified for U-Boot +cmd_dtco = mkdir -p $(dir ${dtc-tmp}) ; \ + $(CPP) $(dtc_cpp_flags) -x assembler-with-cpp -o $(dtc-tmp) - ; \ + $(DTC) -@ -O dtb -o $@ -b 0 \ + -i $(dir $<) $(DTC_FLAGS) \ + -d $(depfile).dtc.tmp $(dtc-tmp) ; \ + cat $(depfile).pre.tmp $(depfile).dtc.tmp > $(depfile) + +$(obj)/%.dtbo: $(src)/%.dts FORCE + $(call if_changed_dep,dtco) + # Fonts # ---------------------------------------------------------------------------