blob: 0296b3175b55e9d3c45020b4ac4d70e5e0b7f800 [file] [log] [blame]
# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=4
CROS_WORKON_COMMIT="b3603c6bdd5876c6ad8c23206627eb8a8ccba016"
CROS_WORKON_TREE="77a49568f03874993753342ef712ca0da2323f4b"
CROS_WORKON_PROJECT="chromiumos/third_party/kernel"
# TODO(jglasgow) Need to fix DEPS file to get rid of "files"
CROS_WORKON_LOCALNAME="kernel/files"
# This must be inherited *after* EGIT/CROS_WORKON variables defined
inherit cros-workon cros-kernel2
DESCRIPTION="Chrome OS Kernel"
KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86"
RDEPEND="!sys-kernel/chromeos-kernel-next
!sys-kernel/chromeos-kernel-exynos"
DEPEND="${RDEPEND}"
src_test() {
if ! use x86 && ! use amd64 ; then
einfo "Skipping tests on non-x86 platform..."
else
# Needed for `cros_run_unit_tests`.
cros-kernel2_src_test
fi
}