Сравнение ryzen_smu-0.1.2_p20210627 с ryzen_smu-0.1.2_p20211205
/usr/portage/app-admin/ryzen_smu/ryzen_smu-0.1.2_p20211205.ebuild 2023-10-09 14:52:28.168368317 +0300 | ||
---|---|---|
1 |
# Copyright 2021 Gentoo Authors |
|
1 |
# Copyright 2022 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 | 4 |
EAPI=7 |
... | ... | |
6 | 6 |
inherit linux-mod linux-info toolchain-funcs |
7 | 7 | |
8 | 8 |
SRC_URI="https://dev.gentoo.org/~slashbeast/distfiles/${PN}/${P}.tar.xz" |
9 |
KEYWORDS="~amd64 ~x86" |
|
9 |
KEYWORDS="amd64 x86" |
|
10 | 10 | |
11 | 11 |
DESCRIPTION="Kernel driver for AMD Ryzen's System Management Unit" |
12 | 12 |
HOMEPAGE="https://github.com/leogx9r/ryzen_smu" |
... | ... | |
26 | 26 |
linux-mod_pkg_setup |
27 | 27 | |
28 | 28 |
BUILD_TARGETS="modules" |
29 |
BUILD_PARAMS="CC=$(tc-getCC) KERNEL_BUILD=${KERNEL_DIR}" |
|
29 |
BUILD_PARAMS="KERNEL_BUILD=${KERNEL_DIR}" |
|
30 |
if linux_chkconfig_present CC_IS_CLANG; then |
|
31 |
BUILD_PARAMS+=" CC=${CHOST}-clang" |
|
32 |
if linux_chkconfig_present LD_IS_LLD; then |
|
33 |
BUILD_PARAMS+=' LD=ld.lld' |
|
34 |
if linux_chkconfig_present LTO_CLANG_THIN; then |
|
35 |
# kernel enables cache by default leading to sandbox violations |
|
36 |
BUILD_PARAMS+=' ldflags-y=--thinlto-cache-dir= LDFLAGS_MODULE=--thinlto-cache-dir=' |
|
37 |
fi |
|
38 |
fi |
|
39 |
fi |
|
30 | 40 |
} |
31 | 41 | |
32 | 42 |
src_install() { |