fix(cros-kernel2.eclass): Drop the kernel_, just source. It's cleaner.

The use flag kernel_sources conflicts with the special meaning of the
use flag prefix kernel_ which is reserved for defining the host kernel,
for example kernel_linux. Also a couple other ebuilds in Gentoo have a
source use flag so let's just follow that pattern instead.
This commit is contained in:
Michael Marineau 2013-11-14 18:14:51 -08:00
parent c1039fbcfa
commit 13fa480c49

View File

@ -12,7 +12,7 @@ SLOT="0"
DEPEND="sys-apps/debianutils
"
IUSE="-kernel_sources"
IUSE="-source"
STRIP_MASK="/usr/lib/debug/boot/vmlinux"
# Build out-of-tree and incremental by default, but allow an ebuild inheriting
@ -144,7 +144,7 @@ cros-kernel2_src_install() {
insinto /usr/lib/debug/boot/${version}/
doins "$(cros-workon_get_build_dir)/vmlinux"
if use kernel_sources; then
if use source; then
install_kernel_sources
fi
}