blob: 7665890165bc0fcdb7547fc2846e4738760e45da [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="23faaaaaf05f5ce6e7086c9bf75de480632ac796"
CROS_WORKON_TREE="8ae768c97a6a58c06e70d497c4543c55b3466564"
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"
CROS_WORKON_PROJECT="chromiumos/third_party/coreboot"
CROS_WORKON_LOCALNAME="coreboot"
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
}