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