blob: 70943878c6e11f57d7198d0d7e043a7ed4f9abc9 [file] [log] [blame]
#
# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
# $Header:$
#
CROS_WORKON_COMMIT="8a1fea9e05365489a721f6aac8ea8b1d6745966f"
CROS_WORKON_TREE="9a5fd809564fe2c93a04df4dd8c008167a1d8df8"
EAPI=2
CROS_WORKON_PROJECT="chromiumos/platform/punybench"
CROS_WORKON_LOCALNAME="../platform/punybench"
inherit toolchain-funcs cros-workon
DESCRIPTION="A set of file system microbenchmarks"
HOMEPAGE="http://git.chromium.org/gitweb/?s=punybench"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 arm x86"
IUSE=""
##DEPEND="sys-libs/ncurses"
src_compile() {
tc-export CC
if [ "${ARCH}" == "amd64" ]; then
PUNYARCH="x86_64"
else
PUNYARCH=${ARCH}
fi
emake BOARD="${PUNYARCH}"
}
src_install() {
emake install BOARD="${PUNYARCH}" DESTDIR="${D}"
}