blob: 9a18cef843652931e4c341984094039a4cd44c51 (
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
32
33
34
35
36
37
38
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
K_PREPATCHED="yes"
UNIPATCH_STRICTORDER="yes"
K_SECURITY_UNSUPPORTED="1"
LIBRE_VER=1
SKIP_PATCH_DEBLOB="1"
ETYPE="sources"
inherit kernel-libre
detect_version
RT_PATCH="patch-${KV/libre/}.bz2"
RESTRICT="mirror"
DESCRIPTION="Realtimne Preemption patched low latency Libre Linux kernel"
SRC_URI="${KERNEL_URI} ${DEBLOB_URI}
http://www.kernel.org/pub/linux/kernel/projects/rt/${RT_PATCH}"
DEPEND="dev-util/patchutils" # to filter out unneeded changes from patch
KEYWORDS="~x86"
IUSE=""
pkg_setup(){
# Don't change EXTRAVERSION info
filterdiff -zx 'a/Makefile' "${DISTDIR}/${RT_PATCH}" \
| bzip2 -c > "${T}/${RT_PATCH}"
UNIPATCH_LIST="${T}/${RT_PATCH}"
}
K_EXTRAEINFO="Recommended other packages: sys-process/rtirq and sys-apps/das_watchdog"
|