Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(140)

Side by Side Diff: sys-kernel/chromeos-kernel-next/chromeos-kernel-next-9999.ebuild

Issue 6765018: Add fbconsole USE flag for framebuffer console support. (Closed) Base URL: http://git.chromium.org/git/chromiumos-overlay.git@master
Patch Set: Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | sys-kernel/chromeos-kernel-next/files/fbconsole.config » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2009 The Chromium OS Authors. All rights reserved. 1 # Copyright (c) 2009 The Chromium OS Authors. All rights reserved.
2 # Distributed under the terms of the GNU General Public License v2 2 # Distributed under the terms of the GNU General Public License v2
3 3
4 EAPI=4 4 EAPI=4
5 5
6 inherit toolchain-funcs 6 inherit toolchain-funcs
7 inherit binutils-funcs 7 inherit binutils-funcs
8 8
9 DESCRIPTION="Chrome OS Kernel-next" 9 DESCRIPTION="Chrome OS Kernel-next"
10 HOMEPAGE="http://src.chromium.org" 10 HOMEPAGE="http://src.chromium.org"
11 LICENSE="GPL-2" 11 LICENSE="GPL-2"
12 SLOT="0" 12 SLOT="0"
13 KEYWORDS="~x86 ~arm" 13 KEYWORDS="~x86 ~arm"
14 IUSE_KCONFIG="+kconfig_generic kconfig_atom kconfig_atom64 kconfig_tegra2" 14 IUSE_KCONFIG="+kconfig_generic kconfig_atom kconfig_atom64 kconfig_tegra2"
15 IUSE="-initramfs -nfs ${IUSE_KCONFIG}" 15 IUSE="-fbconsole -initramfs -nfs ${IUSE_KCONFIG}"
16 REQUIRED_USE="^^ ( ${IUSE_KCONFIG/+} )" 16 REQUIRED_USE="^^ ( ${IUSE_KCONFIG/+} )"
17 # disable compat_wireless with kernel-next 17 # disable compat_wireless with kernel-next
18 USE="${USE} -compat_wireless" 18 USE="${USE} -compat_wireless"
19 PROVIDE="virtual/kernel" 19 PROVIDE="virtual/kernel"
20 20
21 DEPEND="sys-apps/debianutils 21 DEPEND="sys-apps/debianutils
22 initramfs? ( chromeos-base/chromeos-initramfs )" 22 initramfs? ( chromeos-base/chromeos-initramfs )"
23 RDEPEND="" 23 RDEPEND=""
24 24
25 vmlinux_text_base=${CHROMEOS_U_BOOT_VMLINUX_TEXT_BASE:-0x20008000} 25 vmlinux_text_base=${CHROMEOS_U_BOOT_VMLINUX_TEXT_BASE:-0x20008000}
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 65
66 src_configure() { 66 src_configure() {
67 elog "Using kernel config: ${config}" 67 elog "Using kernel config: ${config}"
68 68
69 if [ -n "${CHROMEOS_KERNEL_CONFIG}" ]; then 69 if [ -n "${CHROMEOS_KERNEL_CONFIG}" ]; then
70 cp -f "${config}" "${S}"/.config || die 70 cp -f "${config}" "${S}"/.config || die
71 else 71 else
72 chromeos/scripts/prepareconfig ${config} || die 72 chromeos/scripts/prepareconfig ${config} || die
73 fi 73 fi
74 74
75 if use fbconsole; then
76 elog " - adding framebuffer console config"
77 cat "${FILESDIR}"/fbconsole.config >> "${S}"/.config
78 fi
79
75 if use nfs; then 80 if use nfs; then
76 elog " - adding NFS config" 81 elog " - adding NFS config"
77 cat "${FILESDIR}"/nfs.config >> "${S}"/.config 82 cat "${FILESDIR}"/nfs.config >> "${S}"/.config
78 fi 83 fi
79 84
80 # Use default for any options not explitly set in splitconfig 85 # Use default for any options not explitly set in splitconfig
81 yes "" | eval emake ${COMPILER_OPTS} ARCH=${kernel_arch} oldconfig || di e 86 yes "" | eval emake ${COMPILER_OPTS} ARCH=${kernel_arch} oldconfig || di e
82 87
83 if use compat_wireless; then 88 if use compat_wireless; then
84 "${S}"/chromeos/scripts/compat_wireless_config "${S}" 89 "${S}"/chromeos/scripts/compat_wireless_config "${S}"
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 -O linux \ 167 -O linux \
163 -T kernel \ 168 -T kernel \
164 -C none \ 169 -C none \
165 -a ${vmlinux_text_base} \ 170 -a ${vmlinux_text_base} \
166 -e ${vmlinux_text_base} \ 171 -e ${vmlinux_text_base} \
167 -n kernel \ 172 -n kernel \
168 -d "${D}"/boot/vmlinuz \ 173 -d "${D}"/boot/vmlinuz \
169 "${D}"/boot/vmlinux.uimg || die 174 "${D}"/boot/vmlinux.uimg || die
170 fi 175 fi
171 } 176 }
OLDNEW
« no previous file with comments | « no previous file | sys-kernel/chromeos-kernel-next/files/fbconsole.config » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698