Message ID | af5c57f86477d2e2af9dbf86dd2eac5db3d8e823.1700010289.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=b9kIfZav; 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 4SVQYG1XFbz1yRp for <incoming@patchwork.ozlabs.org>; Wed, 15 Nov 2023 12:28:50 +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=XGvdMx4yah8lTpMvNKEzMYqnZ4IhBUsc0QpUhxVrYqQ=; b=b9kIfZavwTRPaH E0NpJELQoBDIOkwvF9uzQHAk85ceQW5wG6tSgah8IHV4ARNrYw9Wh2zZxlHuXXrfg4xWbHgjvifcr jkJIfOCmglXJTFfrj/uX809vXYO0euVJUeVksNnQtB4il8DeYkPJ4N6c1ZJ5dvYPSE6Bs3kQZurTg JmArBV4bpDP6RKp2SOA4Wd4A++PnRI/IqqwSmp4wc3fBBe+2Gdv/g1Q3SKvCR3bu+AJXdxJyPYDSW RV2bw3AkmyDSbRuwjrxCjU/6pyFQkujh/Vpy+4YyrEBfSUEZHE9f8cqBiAjAUud1wvusJSbF0id6C OGoUtjdrXPCKpHHcjjig==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r34gv-00H7PO-2A; Wed, 15 Nov 2023 01:27:41 +0000 Received: from mailhost.m5p.com ([74.104.188.4]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r34gs-00H7OM-1s for openwrt-devel@lists.openwrt.org; Wed, 15 Nov 2023 01:27:39 +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 3AF1RVMA088726 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for <openwrt-devel@lists.openwrt.org>; Tue, 14 Nov 2023 20:27:36 -0500 (EST) (envelope-from ehem@m5p.com) Received: (from ehem@localhost) by m5p.com (8.17.1/8.15.2/Submit) id 3AF1RVfj088725; Tue, 14 Nov 2023 17:27:31 -0800 (PST) (envelope-from ehem) Message-Id: <af5c57f86477d2e2af9dbf86dd2eac5db3d8e823.1700010289.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: Sun, 12 Nov 2023 10:22:28 -0800 Subject: [PATCH 01/20] ppp: make copy of compiler_types.h unconditional To: openwrt-devel@lists.openwrt.org X-Spam-Status: No, score=0.0 required=10.0 tests=KHOP_HELO_FCRDNS autolearn=unavailable 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_172738_769308_6FB21BFB X-CRM114-Status: UNSURE ( 8.19 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.0 (/) 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: 04cb1e0fd2 was implemented to avoid failures with kernels before 4.14.9. At this point OpenWRT no longer supports earlier kernels, so make the copy fail if compiler_types.h doesn't exist. Updates: 04cb1e0fd2 ("ppp: fix build with kernel 4.14.9+") Signed-off-by: Elliott Mitchell <ehem+openwrt@m5p.com> --- package/network/services/ppp/Makefile | 6 +----- 1 file changed, 1 insertion(+), 5 [...] Content analysis details: (-0.0 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record -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/package/network/services/ppp/Makefile b/package/network/services/ppp/Makefile index 40ec5c5cf1..5f4b8ac02f 100644 --- a/package/network/services/ppp/Makefile +++ b/package/network/services/ppp/Makefile @@ -184,13 +184,9 @@ $(call Build/Configure/Default,, \ mkdir -p $(PKG_BUILD_DIR)/pppd/plugins/pppoatm/linux $(CP) \ $(LINUX_DIR)/include/linux/compiler.h \ + $(LINUX_DIR)/include/linux/compiler_types.h \ $(LINUX_DIR)/include/$(LINUX_UAPI_DIR)linux/atm*.h \ $(PKG_BUILD_DIR)/pppd/plugins/pppoatm/linux/ - - # Kernel 4.14.9+ only, ignore the exit status of cp in case the file - # doesn't exits - -$(CP) $(LINUX_DIR)/include/linux/compiler_types.h \ - $(PKG_BUILD_DIR)/pppd/plugins/pppoatm/linux/ endef MAKE_FLAGS += COPTS="$(TARGET_CFLAGS)" \
04cb1e0fd2 was implemented to avoid failures with kernels before 4.14.9. At this point OpenWRT no longer supports earlier kernels, so make the copy fail if compiler_types.h doesn't exist. Updates: 04cb1e0fd2 ("ppp: fix build with kernel 4.14.9+") Signed-off-by: Elliott Mitchell <ehem+openwrt@m5p.com> --- package/network/services/ppp/Makefile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)