From patchwork Wed Sep 19 02:35:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 146992 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp152505ljw; Tue, 18 Sep 2018 19:36:17 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaTxiMafJfx0mIyAoioF3JrfEQ1niwpAv34nako3GrsBX8nVIlK/pvjy0TgDBkyp+A4lUFm X-Received: by 2002:a50:a844:: with SMTP id j62-v6mr56641262edc.210.1537324577268; Tue, 18 Sep 2018 19:36:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537324577; cv=none; d=google.com; s=arc-20160816; b=sQRig8GtlYJJFUX6E/VSiyvi5JWrTO5n+ocjj5k/Gi76qFvheCEKUsdMT9DlnpAshj 3UCgJ3kCUv/OU8xGBFEJyfvM5EW6VtuFg8AF1Hycf/lDlGTJX/7lQhAAWFQj4KX/SpmN E6DuL8ngJe3jmZXyAdEQKb2MBJdH/732LjYJH3+uvay/Gyw18DYBVbrC5oCTP2hAx617 1//USvje4hZeU6fbQjtQIwHx3IEaPLddukPs0sthonMOQ3uj8mnn/SJvYBSFRGhPChJk r3WmEixNiCCJliVm7X/OHO6+InkOQCAov24iGXR6tfy8ClmToqjjyULHuxDOn3oOPUdI ETag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:dkim-filter; bh=n4ZVXHSg73Ur1rkcpEAocXqltfSRiWnCw+X8tL6HyXE=; b=bxbGkPMO/kQKMyDFd5bCqMfW5Fi2Lps/c/3WdP+spaDDyu/LJPl+ukWOUDVBD5QzkT Bl5G/3V17DtFBbfgALHIHlCxKTaVzxuQJrn+vjRsQn5pfVa8B0cUejga4o8aeQL3EuQT 2hxWX3ybhGP6a5rmX4LxLk0XLA4vUiQMQhmcE2pBUNIwr8CrB9SjomA//Ve917MLfUfI Bz+o9BbNCZWMduP6wWHNipW8S2lq5zrX9Tf47Qz4kcER5G90P+Q+viubqXV1kW7zyKmo QylAxTAEym4+SOFkj/Uc3zq6Rf7tumQ/DsuytiGv5t9rPjgYHI2YT10JSZrVdxBZWrgp 9BGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b="J/zXxlA/"; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id q15-v6si19821998edd.134.2018.09.18.19.36.16; Tue, 18 Sep 2018 19:36:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b="J/zXxlA/"; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by lists.denx.de (Postfix, from userid 105) id BD579C21E30; Wed, 19 Sep 2018 02:36:12 +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=1.3 required=5.0 tests=RCVD_IN_RP_RNBL, T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id BBB82C21C2F; Wed, 19 Sep 2018 02:36:10 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id AD422C21C4A; Wed, 19 Sep 2018 02:36:08 +0000 (UTC) Received: from conuserg-08.nifty.com (conuserg-08.nifty.com [210.131.2.75]) by lists.denx.de (Postfix) with ESMTPS id C1772C21C2F for ; Wed, 19 Sep 2018 02:36:07 +0000 (UTC) Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-08.nifty.com with ESMTP id w8J2ZxD4027177; Wed, 19 Sep 2018 11:36:01 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com w8J2ZxD4027177 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1537324561; bh=dyhyv6MB5cWcuT6L/Eax/bXLgoMd2e79/a8OLObfnrQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=J/zXxlA/KnoirqQV1o7x4lZFgymSEtFTHdn81RFnv4C1bcLv4t7qrtL65x9xcMoLN rroqubqv+6xKGVPuo78cqrgtExZipNfbMrCxf8ippYq1hmMJnSKOXBb7/1cspx3shc 1UXw0JE3aSojNUU09CMUGEN8EgthaaELF+UW9Tt/xzDGFicSnNUS3J+L5E8zv+Kqyy EecNkWGTHxrNSz45m7JjubBNUiHoCjWUaQTrWURAhUehBFRXBu9UeIg4cwFm31ot/N T/7pYSjVBfX43utUWGUj4IuXiqldrO3AxTok3gCJC4VV7e7TITUa9rNRt7vmPAuHgY zegLPhiCCgi+g== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Wed, 19 Sep 2018 11:35:57 +0900 Message-Id: <1537324557-27033-3-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1537324557-27033-1-git-send-email-yamada.masahiro@socionext.com> References: <1537324557-27033-1-git-send-email-yamada.masahiro@socionext.com> Subject: [U-Boot] [PATCH 2/2] kbuild: fix # escaping in appending U-Boot own DT 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" The escape sequence '\#' does not work for the latest GNU Make from the git tree. Replace it with $(pound) as Linux did. Signed-off-by: Masahiro Yamada --- scripts/Makefile.lib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index f8c3fff..4dceb6d 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib @@ -299,7 +299,7 @@ quiet_cmd_dtc = DTC $@ # Modified for U-Boot # Bring in any U-Boot-specific include at the end of the file cmd_dtc = mkdir -p $(dir ${dtc-tmp}) ; \ - (cat $<; $(if $(u_boot_dtsi),echo '\#include "$(u_boot_dtsi)"')) > $(pre-tmp); \ + (cat $<; $(if $(u_boot_dtsi),echo '$(pound)include "$(u_boot_dtsi)"')) > $(pre-tmp); \ $(CPP) $(dtc_cpp_flags) -x assembler-with-cpp -o $(dtc-tmp) $(pre-tmp) ; \ $(DTC) -O dtb -o $@ -b 0 \ -i $(dir $<) $(DTC_FLAGS) \