summaryrefslogtreecommitdiff
path: root/sys-kernel/linux-redcore/linux-redcore-4.8.10.ebuild
blob: 40cc2510455df47d83ab3a630c47e5697a2cd734 (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
# Copyright 2004-2013 Sabayon Linux
# Copyright 2015 Kogaion
# 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="20160331"
K_ROGKERNEL_FORCE_SUBLEVEL="10"
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"