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

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

Issue 4120005: kernel, chromeos-initramfs: overhaul for recovery support (Closed) Base URL: http://git.chromium.org/git/chromiumos-overlay.git
Patch Set: disable shim script in official mode pending http://crosbug/8390 Created 10 years, 1 month 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 | « chromeos-base/chromeos-initramfs/files/init ('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 CROS_WORKON_COMMIT="4ef19b8f1d53ab28ba9dc76de832b1f874a32dcf" 5 CROS_WORKON_COMMIT="4ef19b8f1d53ab28ba9dc76de832b1f874a32dcf"
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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 yes "" | emake ARCH=${kernel_arch} oldconfig || die 75 yes "" | emake ARCH=${kernel_arch} oldconfig || die
76 76
77 if use compat_wireless; then 77 if use compat_wireless; then
78 "${S}"/chromeos/scripts/compat_wireless_config "${S}" 78 "${S}"/chromeos/scripts/compat_wireless_config "${S}"
79 fi 79 fi
80 } 80 }
81 81
82 src_compile() { 82 src_compile() {
83 if use initramfs; then 83 if use initramfs; then
84 INITRAMFS="CONFIG_INITRAMFS_SOURCE=${ROOT}/usr/bin/initramfs.cpi o.gz" 84 INITRAMFS="CONFIG_INITRAMFS_SOURCE=${ROOT}/usr/bin/initramfs.cpi o.gz"
85 # We want avoid copying modules into the initramfs so we need to enable
86 # the functionality required for the initramfs here.
87
88 # TPM support to ensure proper locking.
89 INITRAMFS="$INITRAMFS CONFIG_TCG_TPM=y CONFIG_TCG_TIS=y"
90
91 # VFAT FS support for EFI System Partition updates.
92 INITRAMFS="$INITRAMFS CONFIG_NLS_CODEPAGE_437=y"
93 INITRAMFS="$INITRAMFS CONFIG_NLS_ISO8859_1=y"
94 INITRAMFS="$INITRAMFS CONFIG_FAT_FS=y CONFIG_VFAT_FS=y"
85 else 95 else
86 INITRAMFS="" 96 INITRAMFS=""
87 fi 97 fi
88 emake \ 98 emake \
89 $INITRAMFS \ 99 $INITRAMFS \
90 ARCH=${kernel_arch} \ 100 ARCH=${kernel_arch} \
91 CROSS_COMPILE="${cross}" || die 101 CROSS_COMPILE="${cross}" || die
92 102
93 if use compat_wireless; then 103 if use compat_wireless; then
94 # compat-wireless support must be done after 104 # compat-wireless support must be done after
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 -O linux \ 166 -O linux \
157 -T kernel \ 167 -T kernel \
158 -C none \ 168 -C none \
159 -a ${vmlinux_text_base} \ 169 -a ${vmlinux_text_base} \
160 -e ${vmlinux_text_base} \ 170 -e ${vmlinux_text_base} \
161 -n kernel \ 171 -n kernel \
162 -d "${D}"/boot/vmlinuz \ 172 -d "${D}"/boot/vmlinuz \
163 "${D}"/boot/vmlinux.uimg || die 173 "${D}"/boot/vmlinux.uimg || die
164 fi 174 fi
165 } 175 }
OLDNEW
« no previous file with comments | « chromeos-base/chromeos-initramfs/files/init ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698