blob: 435845f9b7440656fe5cffb6924dc3d9a3866da9 [file] [log] [blame]
# Copyright 2014 The Chromium OS Authors.
# Distributed under the terms of the GNU General Public License v2
EAPI=4
CROS_WORKON_COMMIT="584ffa9ad9c1f928bd14da8b28cd1b4c485cd4f3"
CROS_WORKON_TREE="008d6b07a80fa6b4c6d64340cb0a95e92a6191ad"
CROS_WORKON_PROJECT="chromiumos/third_party/coreboot"
DESCRIPTION="lp0 resume blob for Tegra"
HOMEPAGE="http://www.coreboot.org"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="arm"
IUSE=""
RDEPEND=""
DEPEND=""
CROS_WORKON_LOCALNAME="coreboot"
inherit cros-workon
src_compile() {
emake -C src/soc/nvidia/tegra124/lp0 \
GCC_PREFIX="${CHOST}-" || \
die "tegra_lp0_resume build failed"
}
src_install() {
insinto /lib/firmware/tegra12x/
doins src/soc/nvidia/tegra124/lp0/tegra_lp0_resume.fw
}