blob: 445f5457e229854f076c6ad4c4941ce30900661f [file] [log] [blame]
# 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="6da5a71049f2914e59b6bd59564a6064a280a995"
CROS_WORKON_TREE="9b07cc9811d5c1b9b3adcac4ed56d649a014b456"
CROS_WORKON_PROJECT="chromiumos/third_party/coreboot"
CROS_WORKON_LOCALNAME="coreboot"
inherit cros-board cros-workon cros-coreboot
KEYWORDS="arm"
DEPEND="sys-boot/exynos-pre-boot"
RDEPEND="!sys-boot/chromeos-coreboot"
src_prepare() {
# src is installed by "exynos-pre-boot".
local src="${SYSROOT}/firmware/u-boot.bl1.bin"
# dest is required by Makefile.inc in coreboot source tree.
local dest="3rdparty/cpu/samsung/exynos5250/bl1.bin"
mkdir -p "$(dirname "${dest}")"
cp -pf "${src}" "${dest}" || die
}