Diff linux-headers-5.4-r2 with a linux-headers-5.10-r2
| /usr/portage/sys-kernel/linux-headers/linux-headers-5.10-r2.ebuild 2025-10-09 18:21:06.195283885 +0300 | ||
|---|---|---|
| 5 | 5 | |
| 6 | 6 |
ETYPE="headers" |
| 7 | 7 |
H_SUPPORTEDARCH="alpha amd64 arc arm arm64 avr32 cris frv hexagon hppa ia64 m68k metag microblaze mips mn10300 nios2 openrisc ppc ppc64 riscv s390 score sh sparc x86 xtensa" |
| 8 |
inherit kernel-2 toolchain-funcs |
|
| 8 |
inherit kernel-2 |
|
| 9 | 9 |
detect_version |
| 10 | 10 | |
| 11 | 11 |
PATCH_PV=${PV} # to ease testing new versions against not existing patches
|
| 12 |
PATCH_VER="2" |
|
| 12 |
PATCH_VER="1" |
|
| 13 | 13 |
SRC_URI="${KERNEL_URI}
|
| 14 | 14 |
${PATCH_VER:+mirror://gentoo/gentoo-headers-${PATCH_PV}-${PATCH_VER}.tar.xz}
|
| 15 | 15 |
${PATCH_VER:+https://dev.gentoo.org/~sam/distfiles/gentoo-headers-${PATCH_PV}-${PATCH_VER}.tar.xz}
|
| ... | ... | |
| 31 | 31 |
} |
| 32 | 32 | |
| 33 | 33 |
src_prepare() {
|
| 34 |
# TODO: May need forward porting to newer versions |
|
| 35 |
use elibc_musl && PATCHES+=( |
|
| 36 |
"${FILESDIR}"/${PN}-5.10-Use-stddefs.h-instead-of-compiler.h.patch
|
|
| 37 |
) |
|
| 38 | ||
| 34 | 39 |
# avoid kernel-2_src_prepare |
| 35 | 40 |
default |
| 36 | 41 |
} |
| 37 | 42 | |
| 38 | 43 |
src_test() {
|
| 39 |
emake ARCH="$(tc-arch-kernel)" headers_check |
|
| 44 |
emake headers_check "${KERNEL_MAKEOPTS[@]}"
|
|
| 40 | 45 |
} |
| 41 | 46 | |
| 42 | 47 |
src_install() {
|