blob: fe999803176c5ceee0f7313004a4849d2075c0f8 (
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
|
# 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.9_pre-r20130820.ebuild,v 1.1 2013/08/23 21:17:00 xmw Exp $
EAPI=5
DESCRIPTION="Raspberry PI precompiled kernel and modules"
HOMEPAGE="https://github.com/raspberrypi/firmware"
SRC_URI="https://dev.gentoo.org/~xmw/${PN}/${PF}.tar.xz"
LICENSE="GPL-2"
SLOT="${PVR}"
KEYWORDS="~arm -*"
IUSE=""
S=${WORKDIR}
RESTRICT="binchecks mirror strip"
src_prepare() {
#hide kernel vectors
chmod go= boot/System* || die
# on a filesystem with permissions
mv boot/System* lib/modules/* || die
elog "System.map has been moved to $(ls -d lib/modules/*)"
}
src_install() {
mv -v boot "${D}" || die
dodir /lib
mv -v lib/modules "${D}"/lib || die
}
|