blob: 199f7a150d764baa1f12bd012bfa7d3b7b810331 (
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
|
# cat /usr/local/ebuilds/sys-firmware/firmware-imx/firmware-imx-3.10.31-r0.ebuild
EAPI="5"
inherit eutils
DESCRIPTION="Freescale IMX firmware (VPU, SDMA)"
HOMEPAGE="http://homepage_to_some_wiki_about_this_stuff"
SRC_URI="http://www.freescale.com/lgfiles/NMG/MAD/YOCTO/${P}-1.1.0-beta.bin"
LICENSE="freescale"
SLOT="0"
KEYWORDS="~arm"
S="${WORKDIR}"/${P}-1.1.0-beta
src_unpack() {
sh "${DISTDIR}"/${A} --auto-accept
}
src_install() {
# Stuff below taken from the recipe of the fsl-community-bsp
install -d ${D}/lib/firmware
cp -rfv firmware/* ${D}/lib/firmware/
find ${D}/lib/firmware -type f -exec chmod 644 '{}' ';'
# Remove files not going to be installed
find ${D}/lib/firmware/ -name Android.mk -exec rm '{}' ';'
}
|