blob: a69ee181d5136b32f064106022b8dd9d6f24b9d4 [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="0a7bd279e80280de440fe3711f418e782c4bad01"
CROS_WORKON_TREE="0c1d46ed1e26456d16725e0c6da0bda4feadd93b"
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/tegra132/lp0 \
GCC_PREFIX="${CHOST}-" || \
die "tegra_lp0_resume build failed"
}
src_install() {
insinto /lib/firmware/tegra13x/
doins src/soc/nvidia/tegra132/lp0/tegra_lp0_resume.fw
}