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

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

Issue 6279010: kernel: remove chromeos-base/kernel (Closed) Base URL: http://git.chromium.org/git/chromiumos-overlay.git@master
Patch Set: profile Created 9 years, 11 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 | « profiles/targets/chromeos/virtuals ('k') | no next file » | 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=2 4 EAPI=2
5 5
6 inherit toolchain-funcs 6 inherit toolchain-funcs
7 7
8 DESCRIPTION="Chrome OS Kernel" 8 DESCRIPTION="Chrome OS Kernel"
9 HOMEPAGE="http://src.chromium.org" 9 HOMEPAGE="http://src.chromium.org"
10 LICENSE="GPL-2" 10 LICENSE="GPL-2"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 yes "" | emake ARCH=${kernel_arch} oldconfig || die 61 yes "" | emake ARCH=${kernel_arch} oldconfig || die
62 62
63 if use compat_wireless; then 63 if use compat_wireless; then
64 "${S}"/chromeos/scripts/compat_wireless_config "${S}" 64 "${S}"/chromeos/scripts/compat_wireless_config "${S}"
65 fi 65 fi
66 } 66 }
67 67
68 src_compile() { 68 src_compile() {
69 if use initramfs; then 69 if use initramfs; then
70 INITRAMFS="CONFIG_INITRAMFS_SOURCE=${ROOT}/usr/bin/initramfs.cpi o.gz" 70 INITRAMFS="CONFIG_INITRAMFS_SOURCE=${ROOT}/usr/bin/initramfs.cpi o.gz"
71 # We want avoid copying modules into the initramfs so we need to enable
72 # the functionality required for the initramfs here.
73
74 # TPM support to ensure proper locking.
75 INITRAMFS="$INITRAMFS CONFIG_TCG_TPM=y CONFIG_TCG_TIS=y"
76
77 # VFAT FS support for EFI System Partition updates.
78 INITRAMFS="$INITRAMFS CONFIG_NLS_CODEPAGE_437=y"
79 INITRAMFS="$INITRAMFS CONFIG_NLS_ISO8859_1=y"
80 INITRAMFS="$INITRAMFS CONFIG_FAT_FS=y CONFIG_VFAT_FS=y"
71 else 81 else
72 INITRAMFS="" 82 INITRAMFS=""
73 fi 83 fi
74 emake \ 84 emake \
75 $INITRAMFS \ 85 $INITRAMFS \
76 ARCH=${kernel_arch} \ 86 ARCH=${kernel_arch} \
77 CROSS_COMPILE="${cross}" || die 87 CROSS_COMPILE="${cross}" || die
78 88
79 if use compat_wireless; then 89 if use compat_wireless; then
80 # compat-wireless support must be done after 90 # compat-wireless support must be done after
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 -O linux \ 152 -O linux \
143 -T kernel \ 153 -T kernel \
144 -C none \ 154 -C none \
145 -a ${vmlinux_text_base} \ 155 -a ${vmlinux_text_base} \
146 -e ${vmlinux_text_base} \ 156 -e ${vmlinux_text_base} \
147 -n kernel \ 157 -n kernel \
148 -d "${D}"/boot/vmlinuz \ 158 -d "${D}"/boot/vmlinuz \
149 "${D}"/boot/vmlinux.uimg || die 159 "${D}"/boot/vmlinux.uimg || die
150 fi 160 fi
151 } 161 }
OLDNEW
« no previous file with comments | « profiles/targets/chromeos/virtuals ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698