blob: 005571a81e664b09a78151a246921b62c617db6a [file] [log] [blame] [edit]
# Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=4
CROS_WORKON_COMMIT=("1ac749d6878507eecf9e2de5c1fcafca2395819d" "1ae425aa607be01e899f0728dcfe0bd70f1f0709")
CROS_WORKON_TREE=("87ebd20beab8c6b4107bedeb17c4d2474fdf5045" "cb1e3b17f61596991f249e0da5a31c7b653b6a87")
CROS_WORKON_PROJECT=("chromiumos/third_party/coreboot" "chromiumos/platform/vboot_reference")
CROS_WORKON_LOCALNAME=("coreboot" "../platform/vboot_reference")
CROS_WORKON_DESTDIR=("${S}" "${S}/vboot_reference")
COREBOOT_BOARD="nyan"
COREBOOT_BOARD_ROOT="google/nyan"
COREBOOT_BUILD_ROOT="builds/nyan"
inherit cros-board cros-workon cros-coreboot
KEYWORDS="arm"
IUSE="fwserial"
DEPEND="dev-embedded/cbootimage"
RDEPEND="chromeos-base/vboot_reference"
src_prepare() {
if use fwserial; then
elog " - enabling firmware serial console"
echo "CONFIG_CONSOLE_SERIAL=y" >> .config
fi
}