| OLD | NEW |
| 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 15 matching lines...) Expand all Loading... |
| 26 # to the root of the kernel source tree. | 26 # to the root of the kernel source tree. |
| 27 | 27 |
| 28 if [ -n "${CHROMEOS_KERNEL_CONFIG}" ]; then | 28 if [ -n "${CHROMEOS_KERNEL_CONFIG}" ]; then |
| 29 config="${S}/${CHROMEOS_KERNEL_CONFIG}" | 29 config="${S}/${CHROMEOS_KERNEL_CONFIG}" |
| 30 else | 30 else |
| 31 if [ "${ARCH}" = "x86" ]; then | 31 if [ "${ARCH}" = "x86" ]; then |
| 32 config=${CHROMEOS_KERNEL_SPLITCONFIG:-"chromeos-intel-menlow"} | 32 config=${CHROMEOS_KERNEL_SPLITCONFIG:-"chromeos-intel-menlow"} |
| 33 fi | 33 fi |
| 34 fi | 34 fi |
| 35 | 35 |
| 36 CROS_WORKON_PROJECT="kernel" |
| 36 # TODO(jglasgow) Need to fix DEPS file to get rid of "files" | 37 # TODO(jglasgow) Need to fix DEPS file to get rid of "files" |
| 37 CROS_WORKON_LOCALNAME="../third_party/kernel/files" | 38 CROS_WORKON_LOCALNAME="../third_party/kernel/files" |
| 38 | 39 |
| 39 # This must be inherited *after* EGIT/CROS_WORKON variables defined | 40 # This must be inherited *after* EGIT/CROS_WORKON variables defined |
| 40 inherit cros-workon | 41 inherit cros-workon |
| 41 | 42 |
| 42 # Allow override of kernel arch. | 43 # Allow override of kernel arch. |
| 43 kernel_arch=${CHROMEOS_KERNEL_ARCH:-"$(tc-arch-kernel)"} | 44 kernel_arch=${CHROMEOS_KERNEL_ARCH:-"$(tc-arch-kernel)"} |
| 44 | 45 |
| 45 cross=${CHOST}- | 46 cross=${CHOST}- |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 -O linux \ | 153 -O linux \ |
| 153 -T kernel \ | 154 -T kernel \ |
| 154 -C none \ | 155 -C none \ |
| 155 -a ${vmlinux_text_base} \ | 156 -a ${vmlinux_text_base} \ |
| 156 -e ${vmlinux_text_base} \ | 157 -e ${vmlinux_text_base} \ |
| 157 -n kernel \ | 158 -n kernel \ |
| 158 -d "${D}"/boot/vmlinuz \ | 159 -d "${D}"/boot/vmlinuz \ |
| 159 "${D}"/boot/vmlinux.uimg || die | 160 "${D}"/boot/vmlinux.uimg || die |
| 160 fi | 161 fi |
| 161 } | 162 } |
| OLD | NEW |