From patchwork Tue Feb 27 18:13:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomasz Maciej Nowak X-Patchwork-Id: 1905367 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=4EScRvj9; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=terefe.re header.i=@terefe.re header.a=rsa-sha256 header.s=default header.b=jAi5tmNW; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.openwrt.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=patchwork.ozlabs.org) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Tklz559Dcz23qP for ; Wed, 28 Feb 2024 05:15:45 +1100 (AEDT) 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=vx5LUXhA2pKJ3MvqrpVMl+z7cqaWPWexBqbZUptTY0s=; b=4EScRvj9qJM8ws 50sIAwxSWopqTYiNUT/AykSiyKgs0aiNDfPrJz16Ln9CqJhkDWJTz37LDP8SVbEI2VsRiCz83414x hr6RrlRrFxJe+iKU6mVAhRf1f+fgmbA478Z8BsU+xcoIpdQC0d/z+A97fospm7C2ENE612I6olWPS V1IQTU5UrTQqUupCZC0tsVFN62J4Pc4KC3OMCmoM/JrQhhbII8acr4/G9AQIqUpAXy5jgvZ5aA1au H3WpOgTvV3wUNfw5s2E/Elr2utihhPXsUZV9sCpZRSlg7Avz4NFgKvuC0CxWz94G0QB6p6GGgljmx lGDL8YWfyEzBQTJqnq6A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rf1xP-00000006NVn-1D3X; Tue, 27 Feb 2024 18:13:35 +0000 Received: from terefe.re ([2a04:52c0:101:a4a:0:ffff:5ff:60c8]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rf1xM-00000006NUF-2kid for openwrt-devel@lists.openwrt.org; Tue, 27 Feb 2024 18:13:34 +0000 Received: from localhost.localdomain (unknown [212.106.161.100]) by terefe.re (Postfix) with ESMTPSA id F230720194; Tue, 27 Feb 2024 19:13:28 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=terefe.re; s=default; t=1709057609; bh=RQNPpRvjvS3cm2UwmEaBcQanDCmD/dFssJ6SGC625TA=; h=From:To:Cc:Subject:Date:From; b=jAi5tmNW5z34frxUEEHHFPpXhqxYOYMAnGZNEk2+ep1RKaeZ78qkUagmSdT5FkMPa 1XajQOekAjN1OW7HDCGulk8niGvhJ48qgDadHv+Hl0K8oGKcKYIha7LMBWC+8DVFD3 M/kv9L2sY8WvXDcdc1LF2P9hP6u9SPpVpnxXgKLJgc8cwo3DblEViXDZd//jvoXOWf JK28Efoo/MmW1JUE1Ie/uP1wR909CEVXL3z1gLa1nKgoaxnDwmOxxi+aI9DManfsC4 E6qQZQFs6nLiNUmFdbWWvPJaz/mYBuU2FdX9oPBDPfIULgCtsoafc+DNiArOsGCEko ZbX2nO/puQGmA== From: Tomasz Maciej Nowak To: openwrt-devel@lists.openwrt.org Cc: Tomasz Maciej Nowak Subject: [PATCH] image: build dtb with host compiler for image builder Date: Tue, 27 Feb 2024 19:13:21 +0100 Message-ID: <20240227181321.114954-1-tmn505@terefe.re> X-Mailer: git-send-email 2.44.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240227_101332_866618_D2CB16E8 X-CRM114-Status: UNSURE ( 8.11 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: From: Tomasz Maciej Nowak Device tree blobs are arch agnostic, so we don't need to cross compile them. Signed-off-by: Tomasz Maciej Nowak --- include/image.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.0 T_SCC_BODY_TEXT_LINE No description available. X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org From: Tomasz Maciej Nowak Device tree blobs are arch agnostic, so we don't need to cross compile them. Signed-off-by: Tomasz Maciej Nowak --- include/image.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/image.mk b/include/image.mk index 4b6acbe1aad6..3a92fb0c8cab 100644 --- a/include/image.mk +++ b/include/image.mk @@ -180,7 +180,7 @@ endef # $(3) extra CPP flags # $(4) extra DTC flags define Image/BuildDTB/sub - $(TARGET_CROSS)cpp -nostdinc -x assembler-with-cpp \ + $(if IB, , $(TARGET_CROSS))cpp -nostdinc -x assembler-with-cpp \ $(DTS_CPPFLAGS) \ -I$(DTS_DIR) \ -I$(DTS_DIR)/include \