blob: fa662e6a10efa461c3ed914110d351fed175a5ad (
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
|
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="4"
inherit eutils versionator
MY_PV="$(get_version_component_range 1-3)-$(get_version_component_range 4-)"
MY_P="${PN}-${MY_PV}"
DESCRIPTION="utility to write u-boot images to NAND on Freescale iMX devices"
HOMEPAGE="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=IMX6_SW"
SRC_URI="http://storage.googleapis.com/chromeos-localmirror/distfiles/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE=""
S="${WORKDIR}/${MY_P}"
src_prepare() {
epatch "${FILESDIR}"/kobs-ng-fix-mtd-defines.patch
epatch "${FILESDIR}"/kobs-ng-fix-open-without-mode.patch
epatch "${FILESDIR}"/kobs-ng-fix-array-violation.patch
}
|