blob: af5af3ba1092c3b7cd03fba5e8449b1ccc1a65dd [file] [log] [blame] [edit]
# Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=2
CROS_WORKON_PROJECT="chromiumos/third_party/seabios"
inherit toolchain-funcs
DESCRIPTION="Open Source implementation of X86 BIOS"
HOMEPAGE="http://www.coreboot.org/SeaBIOS"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
RDEPEND=""
DEPEND=""
CROS_WORKON_LOCALNAME="seabios"
# This must be inherited *after* EGIT/CROS_WORKON variables defined
inherit cros-workon
src_compile() {
tc-getCC
emake defconfig || die "${P}: configuration failed"
emake || die "${P}: compilation failed"
}
src_install() {
dodir /coreboot
insinto /coreboot
doins out/bios.bin.elf || die
}