forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app-laptop/framework-laptop-kmod: add 0_pre20240405
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
- Loading branch information
Showing
2 changed files
with
55 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
DIST framework-laptop-kmod-0_pre20231204.gh.tar.gz 10728 BLAKE2B 921112a6f895c916a6f1403d405472bbb084a84aa42cc80d938f59f692f49a535a8e5613dc01d07b502a86d2a5e4f9c16999d9edf495b75027dbc81f5845da79 SHA512 e104011e15fad74c5d74050844471aaeb20354304f3e6985b6d3f40fa82169d2c7c893a98cf3c49e7a4138c899b0197b3c538454d4494750ce22b50d169440dc | ||
DIST framework-laptop-kmod-0_pre20240405.gh.tar.gz 13016 BLAKE2B 10a92fbbb1974213846ca4d4bc3bec5074b192661ea46e178c9786f2fbec63fb0beff9439d1d1ae9cd633d83207d5272549ef0975a5c23cfe77219df6513ba24 SHA512 243a51eb454c68433fb74027c6675da1227907c9fcf546ef4ae624c031ee701dbeef49b4cc6b8077d3c9e5284a524e13277518fae7449dd7142899b4c5bb3e5e |
54 changes: 54 additions & 0 deletions
54
app-laptop/framework-laptop-kmod/framework-laptop-kmod-0_pre20240405.ebuild
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# Copyright 2023-2024 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=8 | ||
|
||
inherit linux-mod-r1 | ||
|
||
COMMIT_HASH="6ee08ebb558627863236ff00fab98d25f582ac01" | ||
DESCRIPTION="Kernel module to expose more Framework Laptop stuff" | ||
HOMEPAGE="https://github.com/DHowett/framework-laptop-kmod" | ||
SRC_URI="https://github.com/DHowett/framework-laptop-kmod/archive/${COMMIT_HASH}.tar.gz -> ${P}.gh.tar.gz" | ||
S="${WORKDIR}/${PN}-${COMMIT_HASH}" | ||
|
||
LICENSE="GPL-2" | ||
SLOT="0" | ||
KEYWORDS="~amd64" | ||
|
||
CONFIG_CHECK=" | ||
~CROS_EC | ||
~CROS_EC_LPC | ||
" | ||
|
||
DOCS=( | ||
README.md | ||
) | ||
|
||
pkg_setup() { | ||
linux-mod-r1_pkg_setup | ||
|
||
MODULES_MAKEARGS+=( | ||
KDIR="${KERNEL_DIR}" | ||
) | ||
} | ||
|
||
pkg_pretend() { | ||
check_extra_config | ||
} | ||
|
||
src_compile() { | ||
local modlist=( | ||
framework_laptop | ||
) | ||
linux-mod-r1_src_compile | ||
} | ||
|
||
pkg_postinst() { | ||
linux-mod-r1_pkg_postinst | ||
|
||
#if kernel_is -lt 6 7 0; then | ||
ewarn "For the Framework Laptop 13 AMD Ryzen 7040 series and the Framework Laptop 16a," | ||
ewarn "you will need to apply the patch series from this URL:" | ||
ewarn "https://lore.kernel.org/chrome-platform/20231005160701.19987-1-dustin@howett.net/" | ||
#fi | ||
} |