blob: 0d3c1a7f4ba50d7e8e0c821b40e16daacc1dd77f [file] [log] [blame]
# Copyright 2014 The Chromium OS Authors.
# Distributed under the terms of the GNU General Public License v2
EAPI=7
CROS_WORKON_COMMIT="01c94632684ca8aff242b1d6ac33344a9cb668d1"
CROS_WORKON_TREE="70d95067ff553c10f1585a11f0c3fa52080c5222"
CROS_WORKON_PROJECT="chromiumos/third_party/coreboot"
DESCRIPTION="lp0 resume blob for Tegra"
HOMEPAGE="http://www.coreboot.org"
LICENSE="GPL-2"
KEYWORDS="-* arm arm64"
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
}