blob: aae2e588e5408d2c704f74006a4e9a241f663683 (
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-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-kernel/raspberrypi-image/raspberrypi-image-3.10.9999.ebuild,v 1.1 2013/12/14 11:14:05 xmw Exp $
EAPI=5
inherit git-2 versionator
DESCRIPTION="Raspberry PI precompiled kernel and modules"
HOMEPAGE="https://github.com/raspberrypi/firmware"
EGIT_REPO_URI="https://github.com/raspberrypi/firmware.git"
EGIT_PROJECT="raspberrypi-firmware.git"
EGIT_BRANCH="master"
LICENSE="GPL-2 raspberrypi-videocore-bin"
SLOT="${PV}"
KEYWORDS=""
IUSE="doc"
RESTRICT="binchecks strip"
src_install() {
MY_PV=$(awk '{ print $3 }' extra/uname_string)
insinto /boot
local suffix
for suffix in "" "_emergency" ; do
newins boot/kernel${suffix}.img kernel-${MY_PV}${suffix}.img
newins extra/System${suffix}.map System-${MY_PV}${suffix}.map
newins extra/Module${suffix}.symvers Module-${MY_PV}${suffix}.symvers
done
insinto /lib/modules
doins -r modules/${MY_PV}
if use doc ; then
dohtml documentation/ilcomponents/*
fi
}
|