blob: d246095e5ff9de037b5105a6400c8c0cddcb0346 [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="5d15af5b2fc8e44ad90e9ccb44dca9af0a6d02b9"
CROS_WORKON_TREE="eb122e448751ef0d8a0d656cbf7f9ccd7d34971a"
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
}