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

Side by Side Diff: sys-kernel/chromeos-kernel/chromeos-kernel-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
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" 9 DESCRIPTION="Chrome OS Kernel"
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" 14 IUSE_KCONFIG="+kconfig_generic kconfig_atom kconfig_atom64"
15 IUSE="-compat_wireless -initramfs -nfs ${IUSE_KCONFIG}" 15 IUSE="-compat_wireless -fbconsole -initramfs -nfs ${IUSE_KCONFIG}"
16 REQUIRED_USE="^^ ( ${IUSE_KCONFIG/+} )" 16 REQUIRED_USE="^^ ( ${IUSE_KCONFIG/+} )"
17 PROVIDE="virtual/kernel" 17 PROVIDE="virtual/kernel"
18 18
19 DEPEND="sys-apps/debianutils 19 DEPEND="sys-apps/debianutils
20 initramfs? ( chromeos-base/chromeos-initramfs )" 20 initramfs? ( chromeos-base/chromeos-initramfs )"
21 RDEPEND="" 21 RDEPEND=""
22 22
23 vmlinux_text_base=${CHROMEOS_U_BOOT_VMLINUX_TEXT_BASE:-0x20008000} 23 vmlinux_text_base=${CHROMEOS_U_BOOT_VMLINUX_TEXT_BASE:-0x20008000}
24 24
25 # Use a single or split kernel config as specified in the board or variant 25 # Use a single or split kernel config as specified in the board or variant
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 62
63 src_configure() { 63 src_configure() {
64 elog "Using kernel config: ${config}" 64 elog "Using kernel config: ${config}"
65 65
66 if [ -n "${CHROMEOS_KERNEL_CONFIG}" ]; then 66 if [ -n "${CHROMEOS_KERNEL_CONFIG}" ]; then
67 cp -f "${config}" "${S}"/.config || die 67 cp -f "${config}" "${S}"/.config || die
68 else 68 else
69 chromeos/scripts/prepareconfig ${config} || die 69 chromeos/scripts/prepareconfig ${config} || die
70 fi 70 fi
71 71
72 if use fbconsole; then
73 elog " - adding framebuffer console config"
74 cat "${FILESDIR}"/fbconsole.config >> "${S}"/.config
75 fi
76
72 if use nfs; then 77 if use nfs; then
73 elog " - adding NFS config" 78 elog " - adding NFS config"
74 cat "${FILESDIR}"/nfs.config >> "${S}"/.config 79 cat "${FILESDIR}"/nfs.config >> "${S}"/.config
75 fi 80 fi
76 81
77 # Use default for any options not explitly set in splitconfig 82 # Use default for any options not explitly set in splitconfig
78 yes "" | eval emake ${COMPILER_OPTS} ARCH=${kernel_arch} oldconfig || di e 83 yes "" | eval emake ${COMPILER_OPTS} ARCH=${kernel_arch} oldconfig || di e
79 84
80 if use compat_wireless; then 85 if use compat_wireless; then
81 "${S}"/chromeos/scripts/compat_wireless_config "${S}" 86 "${S}"/chromeos/scripts/compat_wireless_config "${S}"
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 -O linux \ 174 -O linux \
170 -T kernel \ 175 -T kernel \
171 -C none \ 176 -C none \
172 -a ${vmlinux_text_base} \ 177 -a ${vmlinux_text_base} \
173 -e ${vmlinux_text_base} \ 178 -e ${vmlinux_text_base} \
174 -n kernel \ 179 -n kernel \
175 -d "${D}"/boot/vmlinuz \ 180 -d "${D}"/boot/vmlinuz \
176 "${D}"/boot/vmlinux.uimg || die 181 "${D}"/boot/vmlinux.uimg || die
177 fi 182 fi
178 } 183 }
OLDNEW
« no previous file with comments | « sys-kernel/chromeos-kernel-next/files/fbconsole.config ('k') | sys-kernel/chromeos-kernel/files/fbconsole.config » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698