blob: aeeab81db94ab11d00ecb732414242d4b67b39c2 [file] [log] [blame]
# Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
# $Header$
EAPI="4"
CROS_WORKON_COMMIT="8afebd60c77201ab9eac6e049e4576ed26c6d600"
CROS_WORKON_TREE="df4813a2daa4de831ad4a401f7cca7a7b0480b00"
CROS_WORKON_PROJECT="chromiumos/platform/tpm"
CROS_WORKON_LOCALNAME="../third_party/tpm"
inherit cros-sanitizers cros-workon toolchain-funcs
DESCRIPTION="Various TPM tools"
HOMEPAGE="http://www.chromium.org/"
LICENSE="BSD"
SLOT="0"
KEYWORDS="*"
IUSE="-asan"
RDEPEND="app-crypt/trousers"
DEPEND="${RDEPEND}"
src_configure() {
sanitizers-setup-env
cros-workon_src_configure
}
src_compile() {
emake -C nvtool CC="$(tc-getCC)"
}
src_install() {
dobin nvtool/tpm-nvtool
}