summaryrefslogtreecommitdiff
path: root/sys-kernel/linux-redcore/linux-redcore-4.9.35.ebuild
blob: 558251afe7568fb276753c425369c7af7f0cf33c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Copyright 2004-2013 Sabayon Linux
# Copyright 2015 Kogaion
# Copyright 2016 Redcore Linux
# Distributed under the terms of the GNU General Public License v2

EAPI=5

inherit versionator

K_ROGKERNEL_SELF_TARBALL_NAME="redcore"
K_REQUIRED_LINUX_FIRMWARE_VER="20161205"
K_ROGKERNEL_FORCE_SUBLEVEL="35"
K_ROGKERNEL_PATCH_UPSTREAM_TARBALL="0"

_ver="$(get_version_component_range 1-2)"
if use arm; then
	K_KERNEL_IMAGE_NAME="uImage dtbs"
elif [ "${_ver}" = "3.9" ]; then
	K_ROGKERNEL_ZFS="1"
fi
K_KERNEL_NEW_VERSIONING="1"

K_MKIMAGE_RAMDISK_ADDRESS="0x81000000"
K_MKIMAGE_RAMDISK_ENTRYPOINT="0x00000000"
K_MKIMAGE_KERNEL_ADDRESS="0x80008000"

inherit redcore-kernel

KEYWORDS="amd64 x86"
DESCRIPTION="Official Redcore Linux Standard kernel image"
RESTRICT="mirror"