blob: 7369188084b820266086fee70e9464e0dd1b154a [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="128af8394c3b2399d8f7a6195aea2d87a88674ac"
CROS_WORKON_TREE="88fead1fc7ca5835a3db013c9600e11bdb1d3967"
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
}