From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Thu, 20 Jan 2022 09:05:26 +0100 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nASRi-007T98-MU for lore@lore.pengutronix.de; Thu, 20 Jan 2022 09:05:26 +0100 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nASRg-0003aj-R4 for lore@pengutronix.de; Thu, 20 Jan 2022 09:05:26 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=UxhrOHgK3PqRp28gF8AvtBS8aE+Hb9SPaHFT7J3C7Es=; b=zkrGpy7bNHyObh ubx7xq2R0LVmV88kXX/N3bSPb5uo5PpNnATj+pD0nbh6acfzKVNvt6RnNvwJfT1CD/KsBNp7ytr/v rdK6zY9VxOQKUwtb2/ipki19KhRUoPGLGYxa7FmgPlAEM0YjGjumj/mV19E50VA/0ob788XiUl9ap 2O2XXzwKKqdGQRgbqSY2ZjJ9Xtr9qwb7hi7LNQTtPDk0x+6vP3o+xn5JC89WtDfOyuFcAsfwXqYfi sTaa+rFbgqNlH7OoW0RkLoEPYRi42kO3YYrF3HvHAet0cajg2TTjbf56fkWZ3CUSl30hEWDCi/xa2 h82CAG8yfS3tYNhzzsvg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nASQ2-009Ymo-ON; Thu, 20 Jan 2022 08:03:42 +0000 Received: from magratgarlick.emantor.de ([2a01:4f8:c17:c88::2]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nASAb-009Rfi-NM for barebox@lists.infradead.org; Thu, 20 Jan 2022 07:47:47 +0000 Received: by magratgarlick.emantor.de (Postfix, from userid 114) id 98C9191C3E; Thu, 20 Jan 2022 08:47:41 +0100 (CET) Received: from localhost (unknown [IPv6:2001:9e8:2167:3001:c0d3:dbff:fefe:ff70]) by magratgarlick.emantor.de (Postfix) with ESMTPSA id F16D291C3B; Thu, 20 Jan 2022 08:47:40 +0100 (CET) From: Rouven Czerwinski To: barebox@lists.infradead.org Cc: Rouven Czerwinski Date: Thu, 20 Jan 2022 08:47:33 +0100 Message-Id: <20220120074733.176041-1-r.czerwinski@pengutronix.de> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220119_234745_984581_6C88530F X-CRM114-Status: UNSURE ( 9.15 ) X-CRM114-Notice: Please train this message. X-BeenThere: barebox@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" X-SA-Exim-Connect-IP: 2607:7c80:54:e::133 X-SA-Exim-Mail-From: barebox-bounces+lore=pengutronix.de@lists.infradead.org X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.ext.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-5.4 required=4.0 tests=AWL,BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.2 Subject: [PATCH] kbuild: dtc: use env to resolve echo X-SA-Exim-Version: 4.2.1 (built Wed, 08 May 2019 21:11:16 +0000) X-SA-Exim-Scanned: Yes (on metis.ext.pengutronix.de) Posix does not mandate to have binaries within a certain path, but rather that the utilities may be available. Use env to resolve and call echo from PATH. Fixes: 2ae7ac7ab2f1 ("kbuild: dtc: Allow adding device tree fragments via config") Signed-off-by: Rouven Czerwinski --- scripts/Makefile.lib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index 13b1789c01..94ca1b771b 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib @@ -340,7 +340,7 @@ dts-frags = $(subst $(quote),,$(CONFIG_EXTERNAL_DTS_FRAGMENTS)) quiet_cmd_dtc = DTC $@ # For compatibility between make 4.2 and 4.3 H := \# -cmd_dtc = /bin/echo -e '$(H)define $(subst -,_,$(*F))_dts 1\n'$(foreach f,$< $(dts-frags),'$(H)include "$(f)"\n') | \ +cmd_dtc = /usr/bin/env echo -e '$(H)define $(subst -,_,$(*F))_dts 1\n'$(foreach f,$< $(dts-frags),'$(H)include "$(f)"') | \ $(CPP) $(dtc_cpp_flags) -x assembler-with-cpp -o $(dtc-tmp) - ; \ $(objtree)/scripts/dtc/dtc -O dtb -o $@ -b 0 \ -i $(srctree)/arch/$(SRCARCH)/dts $(DTC_FLAGS) \ -- 2.34.1 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox