From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CA123158009 for ; Mon, 26 Jun 2023 11:24:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C07FEE094B; Mon, 26 Jun 2023 11:24:26 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7C777E094A for ; Mon, 26 Jun 2023 11:24:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 957CA340E05 for ; Mon, 26 Jun 2023 11:24:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DA466AD6 for ; Mon, 26 Jun 2023 11:24:21 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1687707528.4b21d47f46b6063d0c1e250545780e71b36624e6.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: net-wireless/rtl8821ce/ X-VCS-Repository: repo/proj/guru X-VCS-Files: net-wireless/rtl8821ce/rtl8821ce-0_pre20230504.ebuild X-VCS-Directories: net-wireless/rtl8821ce/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 4b21d47f46b6063d0c1e250545780e71b36624e6 X-VCS-Branch: master Date: Mon, 26 Jun 2023 11:24:21 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 943951f7-06c9-4e8c-be38-97b04b448ec9 X-Archives-Hash: 20c271f6514c461e310c9ba4d32c4d8e commit: 4b21d47f46b6063d0c1e250545780e71b36624e6 Author: Aleksandr Batyuk gmail com> AuthorDate: Sun Jun 25 15:37:30 2023 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Sun Jun 25 15:38:48 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4b21d47f net-wireless/rtl8821ce: Migrate to linux-mod-r1.eclass Signed-off-by: Aleksandr Batyuk gmail.com> net-wireless/rtl8821ce/rtl8821ce-0_pre20230504.ebuild | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/net-wireless/rtl8821ce/rtl8821ce-0_pre20230504.ebuild b/net-wireless/rtl8821ce/rtl8821ce-0_pre20230504.ebuild index d32a11e7e..bba65298c 100644 --- a/net-wireless/rtl8821ce/rtl8821ce-0_pre20230504.ebuild +++ b/net-wireless/rtl8821ce/rtl8821ce-0_pre20230504.ebuild @@ -3,8 +3,8 @@ EAPI=8 -inherit linux-mod toolchain-funcs -BUILD_PARAMS="CC=$(tc-getCC) V=1 KSRC=${KERNEL_DIR}" +inherit linux-mod-r1 +SLOT=0 COMMIT="a478095a45d8aa957b45be4f9173c414efcacc6f" @@ -19,7 +19,17 @@ DEPEND="virtual/linux-sources" S="${WORKDIR}/rtl8821ce-${COMMIT}" -MODULE_NAMES="8821ce(net/wireless)" -BUILD_TARGETS="all" CONFIG_CHECK="~!RTW88_8821CE" ERROR_RTL8XXXU="The RTW88_8821CE module is enabled in the kernel; it conflicts with this module." + +src_compile() { + linux-mod-r1_pkg_setup + + local modlist=(8821ce=net/wireless) + + linux-mod-r1_src_compile +} + +src_install() { + linux-mod-r1_src_install +}