diff --git a/sdk_container/src/third_party/coreos-overlay/eclass/cros-kernel2.eclass b/sdk_container/src/third_party/coreos-overlay/eclass/cros-kernel2.eclass index 2cde97ffad..8168bf4e1b 100644 --- a/sdk_container/src/third_party/coreos-overlay/eclass/cros-kernel2.eclass +++ b/sdk_container/src/third_party/coreos-overlay/eclass/cros-kernel2.eclass @@ -3,7 +3,7 @@ [[ ${EAPI} != "4" ]] && die "Only EAPI=4 is supported" -inherit binutils-funcs cros-board toolchain-funcs +inherit cros-workon toolchain-funcs HOMEPAGE="http://www.chromium.org/" LICENSE="GPL-2" @@ -12,7 +12,7 @@ SLOT="0" DEPEND="sys-apps/debianutils " -IUSE="-device_tree -kernel_sources" +IUSE="-kernel_sources" STRIP_MASK="/usr/lib/debug/boot/vmlinux" # Build out-of-tree and incremental by default, but allow an ebuild inheriting @@ -91,124 +91,6 @@ install_kernel_sources() { "${D}/${dest_build_dir}/Makefile" || die } -get_build_cfg() { - echo "$(cros-workon_get_build_dir)/.config" -} - -get_boot_kernel() { - if [[ "${PN}" =~ boot ]] ; then - echo "true" - else - echo "false" - fi -} - -get_build_arch() { - if [ "${ARCH}" = "arm" ] ; then - case "${CHROMEOS_KERNEL_SPLITCONFIG}" in - *tegra*) - echo "tegra" - ;; - *exynos*) - echo "exynos5" - ;; - *) - echo "arm" - ;; - esac - else - echo $(tc-arch-kernel) - fi -} - -# @FUNCTION: cros_chkconfig_present -# @USAGE: