{"id":800476,"url":"http://patchwork.ozlabs.org/api/1.2/patches/800476/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/1502441568-22896-8-git-send-email-pantelis.antoniou@konsulko.com/","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/1.2/projects/18/?format=json","name":"U-Boot","link_name":"uboot","list_id":"u-boot.lists.denx.de","list_email":"u-boot@lists.denx.de","web_url":null,"scm_url":null,"webscm_url":null,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<1502441568-22896-8-git-send-email-pantelis.antoniou@konsulko.com>","list_archive_url":null,"date":"2017-08-11T08:52:45","name":"[U-Boot,v2,07/10] dtbo: make dtbos special","commit_ref":null,"pull_url":null,"state":"superseded","archived":false,"hash":"0dc894731d7fe15c7a70aa51170420045c9040a1","submitter":{"id":64098,"url":"http://patchwork.ozlabs.org/api/1.2/people/64098/?format=json","name":"Pantelis Antoniou","email":"pantelis.antoniou@konsulko.com"},"delegate":{"id":3184,"url":"http://patchwork.ozlabs.org/api/1.2/users/3184/?format=json","username":"sjg","first_name":"Simon","last_name":"Glass","email":"sjg@chromium.org"},"mbox":"http://patchwork.ozlabs.org/project/uboot/patch/1502441568-22896-8-git-send-email-pantelis.antoniou@konsulko.com/mbox/","series":[],"comments":"http://patchwork.ozlabs.org/api/patches/800476/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/800476/checks/","tags":{},"related":[],"headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=konsulko.com header.i=@konsulko.com\n\theader.b=\"e9WPmCcc\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xTJr90FxDz9t2W\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 11 Aug 2017 19:00:41 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid D1694C21D94; Fri, 11 Aug 2017 08:58:21 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id E3F65C21DC5;\n\tFri, 11 Aug 2017 08:56:20 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid C5A92C21C59; Fri, 11 Aug 2017 08:55:54 +0000 (UTC)","from mail-wm0-f47.google.com (mail-wm0-f47.google.com\n\t[74.125.82.47])\n\tby lists.denx.de (Postfix) with ESMTPS id 7EC71C21DCC\n\tfor <u-boot@lists.denx.de>; Fri, 11 Aug 2017 08:55:48 +0000 (UTC)","by mail-wm0-f47.google.com with SMTP id i66so41959785wmg.0\n\tfor <u-boot@lists.denx.de>; Fri, 11 Aug 2017 01:55:48 -0700 (PDT)","from localhost.localdomain ([195.97.110.117])\n\tby smtp.gmail.com with ESMTPSA id\n\to71sm759811wmg.15.2017.08.11.01.55.46\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tFri, 11 Aug 2017 01:55:47 -0700 (PDT)"],"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,\n\tRCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,\n\tT_DKIM_INVALID autolearn=unavailable\n\tautolearn_force=no version=3.4.0","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com;\n\ts=google; \n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=BfPrsXstcrD3KdUftfviQXjDy7saKHUA6kqkummKJuw=;\n\tb=e9WPmCcc+ABXGeFMnE6cEs8Mt9w2CWiL+GPSK+QfS9qfDIrvAmyb1HTOXhVIIn4Ov3\n\to8dqIpfqxd0B4sG4nS/PP6erJW/M89DiFRYpGj0plH6QcvBvvb2hh1CZc0TBLiGR1CZo\n\tr4jgJbef0CrqGazn7nS94DqRuEFWqkoaP+29M=","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=BfPrsXstcrD3KdUftfviQXjDy7saKHUA6kqkummKJuw=;\n\tb=LBPT9+n3Gqtqa9JlijX/yPFKzM2j8icMihKZV279BRGgw1uFYEVVwAWn02KnmSsYTg\n\tXrJp2Lywm/v6XhEjSj0f3BtpObKxmca+nPQcuHfKsZjLu55Btwsk7FhAVZgs/ZcGC8cH\n\t41wrlObRs/D0Do7M6h/c2wPTYxF8HNjnfwtQ3VQfIJsRJy4qftE7TONfzNd7N0vE7e9l\n\tkm3w0Z/mlkoAIXZrSTLtxAj5KDhaJiwz5GUqbPrzP1TSjnYaJMePpgNgx/5TIsv2/WAi\n\ta3GC8B9W2UdbsIi4UuVK4tbP9TcZQD73a5zMHtffNAXKqYy5U+kp2CZ+nzLoOor6sat/\n\tLhbA==","X-Gm-Message-State":"AHYfb5gcFOk7gsIpzF6RDk7QpaZCvAkAT7OoguD/NGYL2epihxLflGCH\n\tT8/uXQW54bfqoDVi","X-Received":"by 10.28.211.193 with SMTP id k184mr9853767wmg.21.1502441748203; \n\tFri, 11 Aug 2017 01:55:48 -0700 (PDT)","From":"Pantelis Antoniou <pantelis.antoniou@konsulko.com>","To":"Tom Rini <trini@konsulko.com>","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 <marex@denx.de>,\n\tPantelis Antoniou <pantelis.antoniou@konsulko.com>,\n\tTero Kristo <t-kristo@ti.com>, u-boot@lists.denx.de,\n\tMaxime Ripard <maxime.ripard@free-electrons.com>,\n\tStefan Roese <sr@denx.de>, Alan Ott <alan@signal11.us>","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 <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<http://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>"},"content":"Special rule for dtbo generation\n\nSigned-off-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com>\n---\n scripts/Makefile.lib | 17 +++++++++++++++++\n 1 file changed, 17 insertions(+)","diff":"diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib\nindex 9ce47b4..2a7ed70 100644\n--- a/scripts/Makefile.lib\n+++ b/scripts/Makefile.lib\n@@ -321,6 +321,23 @@ $(obj)/%.dtb: $(src)/%.dts FORCE\n \n dtc-tmp = $(subst $(comma),_,$(dot-target).dts.tmp)\n \n+# DTCO\n+# ---------------------------------------------------------------------------\n+\n+quiet_cmd_dtco = DTCO    $@\n+# Rule for objects only; does not put specific u-boot include at the end\n+# No generation of assembly file either\n+# Modified for U-Boot\n+cmd_dtco = mkdir -p $(dir ${dtc-tmp}) ; \\\n+\t$(CPP) $(dtc_cpp_flags) -x assembler-with-cpp -o $(dtc-tmp) - ; \\\n+\t$(DTC) -@ -O dtb -o $@ -b 0 \\\n+\t\t-i $(dir $<) $(DTC_FLAGS) \\\n+\t\t-d $(depfile).dtc.tmp $(dtc-tmp) ; \\\n+\tcat $(depfile).pre.tmp $(depfile).dtc.tmp > $(depfile)\n+\n+$(obj)/%.dtbo: $(src)/%.dts FORCE\n+\t$(call if_changed_dep,dtco)\n+\n # Fonts\n # ---------------------------------------------------------------------------\n \n","prefixes":["U-Boot","v2","07/10"]}