blob: 86c8b7f663eecf6c3d151edb9f36f4cce17ded6d [file] [log] [blame]
# Copyright 2010 Chromium OS Authors
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=4
CROS_WORKON_COMMIT="9c481ab339b4e5ab063e2c32b1f0a48b521142b2"
CROS_WORKON_TREE="e1f877b5f3ba288aef17a0ffa59d013b3d84dde8"
CROS_WORKON_PROJECT="chromiumos/third_party/coreboot"
CROS_WORKON_LOCALNAME="coreboot"
inherit cros-workon toolchain-funcs
DESCRIPTION="Superiotool allows you to detect which Super I/O you have on your mainboard, and it can provide detailed information about the register contents of the Super I/O."
HOMEPAGE="http://www.coreboot.org/Superiotool"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
RDEPEND="sys-apps/pciutils"
DEPEND="${RDEPEND}"
src_compile() {
emake -C util/superiotool CC="$(tc-getCC)"
}
src_install() {
emake -C util/superiotool DESTDIR="${D}" install
}