summaryrefslogtreecommitdiff
path: root/sys-kernel/linux-kogaion/linux-kogaion-4.8.5.ebuild
blob: cc3b979cc048a7998823b0f31ed5e794d0cde727 (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="kogaion"
K_REQUIRED_LINUX_FIRMWARE_VER="20160331"
K_ROGKERNEL_FORCE_SUBLEVEL="5"
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 kogaion-kernel

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