Message ID | 3f1a6b89e036b814ae6fae07bee89910404dce24.1700010290.git.ehem+openwrt@m5p.com |
---|---|
State | Not Applicable |
Delegated to: | Petr Štetiar |
Headers | show
Return-Path: <openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org> 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=Ttt+oYZE; 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 4SVQZf1Q80z1yRp for <incoming@patchwork.ozlabs.org>; Wed, 15 Nov 2023 12:30:02 +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:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:To:Subject:Date:From: References:In-Reply-To:Message-Id:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=RAppbvOTwgh6wYbKVrsvjr8pRlYkcKFDzUFRSoSImXo=; b=Ttt+oYZEexI+0p K4M33U9eoepOx401HCTW4WODjBqAD3+zlh8KSMDCrrII6iElFv2qJkoqdNy3dvPCchzIyWXNala5b 6ZH90inp5xzGseGkWF4fTOrqX+zLSUB2K9bdyqo04o7Fc5TCnWFjgKqGt6fVnXepQXypn2hra2DmM AXJJt5PDAbNfumFwPOQfGlyLIeXQncuR2WG9X3IqsTrcvlHwybGESS1OmNk0g+rbIhJyRNAvUpvkr SsxjiWXWmJOqnnYwJwpxjtx6SlvPf1gr0PG920U85Gyq+xmN2xE0T2DKbe4eDY16uKdSHjiTLZ92n HIe1k0YD+ixboznuUJaQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r34i6-00H7j3-2M; Wed, 15 Nov 2023 01:28:54 +0000 Received: from mailhost.m5p.com ([74.104.188.4]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r34i3-00H7i6-2y for openwrt-devel@lists.openwrt.org; Wed, 15 Nov 2023 01:28:53 +0000 Received: from m5p.com (mailhost.m5p.com [IPv6:2001:470:1f07:15ff:0:0:0:f7]) by mailhost.m5p.com (8.17.1/8.15.2) with ESMTPS id 3AF1SiFo088750 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for <openwrt-devel@lists.openwrt.org>; Tue, 14 Nov 2023 20:28:50 -0500 (EST) (envelope-from ehem@m5p.com) Received: (from ehem@localhost) by m5p.com (8.17.1/8.15.2/Submit) id 3AF1SiGZ088749; Tue, 14 Nov 2023 17:28:44 -0800 (PST) (envelope-from ehem) Message-Id: <3f1a6b89e036b814ae6fae07bee89910404dce24.1700010290.git.ehem+openwrt@m5p.com> In-Reply-To: <cover.1700010286.git.ehem+openwrt@m5p.com> References: <cover.1700010286.git.ehem+openwrt@m5p.com> From: Elliott Mitchell <ehem+openwrt@m5p.com> Date: Mon, 13 Nov 2023 13:42:27 -0800 Subject: [PATCH 03/20] bcm27xx: fix device-tree support patch for split source/build dirs To: openwrt-devel@lists.openwrt.org X-Spam-Status: No, score=0.5 required=10.0 tests=DATE_IN_PAST_24_48, KHOP_HELO_FCRDNS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on mattapan.m5p.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231114_172852_098051_713430E3 X-CRM114-Status: GOOD ( 10.10 ) X-Spam-Score: 0.5 (/) 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: The kernel source directory needs to be in the include path for compilation. This fixes separated build snd source directory functioning. Signed-off-by: Elliott Mitchell <ehem+openwrt@m5p.com> --- This is really meant as a PoC fix. This works, but doesn't seem to quite match the existing style. I'm also unsure of where in the arguments [...] Content analysis details: (0.5 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.5 DATE_IN_PAST_24_48 Date: is 24 to 48 hours before Received: date -0.0 SPF_HELO_PASS SPF: HELO matches SPF record X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: OpenWrt Development List <openwrt-devel.lists.openwrt.org> List-Unsubscribe: <https://lists.openwrt.org/mailman/options/openwrt-devel>, <mailto:openwrt-devel-request@lists.openwrt.org?subject=unsubscribe> List-Archive: <http://lists.openwrt.org/pipermail/openwrt-devel/> List-Post: <mailto:openwrt-devel@lists.openwrt.org> List-Help: <mailto:openwrt-devel-request@lists.openwrt.org?subject=help> List-Subscribe: <https://lists.openwrt.org/mailman/listinfo/openwrt-devel>, <mailto:openwrt-devel-request@lists.openwrt.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "openwrt-devel" <openwrt-devel-bounces@lists.openwrt.org> Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org |
Series |
Kernel build fixups, split object directory off (partial WIP)
|
expand
|
diff --git a/target/linux/bcm27xx/patches-6.1/950-0061-BCM2708-Add-core-Device-Tree-support.patch b/target/linux/bcm27xx/patches-6.1/950-0061-BCM2708-Add-core-Device-Tree-support.patch index 442abb456f..3856183a5b 100644 --- a/target/linux/bcm27xx/patches-6.1/950-0061-BCM2708-Add-core-Device-Tree-support.patch +++ b/target/linux/bcm27xx/patches-6.1/950-0061-BCM2708-Add-core-Device-Tree-support.patch @@ -37848,7 +37848,7 @@ index 3aa384cec76b..ed87353646bf 100644 +quiet_cmd_dtco = DTCO $@ +cmd_dtco = mkdir -p $(dir ${dtc-tmp}) ; \ -+ $(CPP) $(dtc_cpp_flags) -x assembler-with-cpp -o $(dtc-tmp) $< ; \ ++ $(CPP) $(dtc_cpp_flags) -I$(srctree)/include -x assembler-with-cpp -o $(dtc-tmp) $< ; \ + $(DTC) -@ -H epapr -O dtb -o $@ -b 0 \ + -i $(dir $<) $(DTC_FLAGS) \ + -Wno-interrupts_property \
The kernel source directory needs to be in the include path for compilation. This fixes separated build snd source directory functioning. Signed-off-by: Elliott Mitchell <ehem+openwrt@m5p.com> --- This is really meant as a PoC fix. This works, but doesn't seem to quite match the existing style. I'm also unsure of where in the arguments this addition should be. Nonetheless, this is a bug. --- .../950-0061-BCM2708-Add-core-Device-Tree-support.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)