blob: d55b5c8130a51a7fb38e379a0c01c9b53b1ca5c1 [file] [log] [blame]
# Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=4
CROS_WORKON_COMMIT="7df860dd2389c5c9a5b2ed9ac8a7f1d48d6fed03"
CROS_WORKON_TREE="f76881d2f2a67167b8b3d72a7b3af600fed4430d"
CROS_WORKON_PROJECT="chromiumos/third_party/ltp"
CROS_WORKON_LOCALNAME=../third_party/ltp
inherit cros-workon cros-constants
DESCRIPTION="Autotest kernel ltp dep"
HOMEPAGE="http://www.chromium.org/"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="*"
# Autotest enabled by default.
IUSE="+autotest"
AUTOTEST_DEPS_LIST=""
# NOTE: For deps, we need to keep *.a
AUTOTEST_FILE_MASK="*.tar.bz2 *.tbz2 *.tgz *.tar.gz"
src_prepare() {
# Reset timetstamps since they might get out of sync with git.
find utils/ffsb-6.0-rc2 -exec touch -r . {} + || die
# Now rebuild autotools for dirs not checked in.
emake autotools
}
src_configure() {
cros-workon_src_configure \
--prefix="${AUTOTEST_BASE}/client/deps/kernel_ltp_dep"
# Used in make install
export SKIP_IDCHECK=1
}