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

Side by Side Diff: sys-boot/chromeos-u-boot-next/chromeos-u-boot-next-9999.ebuild

Issue 6756038: Install out of tree configs for Chrome OS builds of U-Boot. (Closed) Base URL: ssh://gitrw.chromium.org:9222/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
« no previous file with comments | « chromeos-base/u-boot-config/u-boot-config-9999.ebuild ('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) 2010 The Chromium OS Authors. All rights reserved. 1 # Copyright (c) 2010 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="Das U-Boot boot loader" 8 DESCRIPTION="Das U-Boot boot loader"
9 HOMEPAGE="http://www.denx.de/wiki/U-Boot" 9 HOMEPAGE="http://www.denx.de/wiki/U-Boot"
10 LICENSE="GPL-2" 10 LICENSE="GPL-2"
11 SLOT="0" 11 SLOT="0"
12 KEYWORDS="~arm" 12 KEYWORDS="~arm"
13 IUSE="" 13 IUSE=""
14 PROVIDE="virtual/u-boot" 14 PROVIDE="virtual/u-boot"
15 15
16 RDEPEND="" 16 RDEPEND=""
17 DEPEND="arm? ( >=chromeos-base/vboot_reference-firmware-0.0.1-r100 ) 17 DEPEND="chromeos-base/vboot_reference-firmware
18 » chromeos-base/u-boot-config
18 !sys-boot/u-boot" 19 !sys-boot/u-boot"
19 20
20 CROS_WORKON_PROJECT="u-boot-next" 21 CROS_WORKON_PROJECT="u-boot-next"
21 CROS_WORKON_LOCALNAME="u-boot-next" 22 CROS_WORKON_LOCALNAME="u-boot-next"
22 CROS_WORKON_SUBDIR="files" 23 CROS_WORKON_SUBDIR="files"
23 24
24 # This must be inherited *after* EGIT/CROS_WORKON variables defined 25 # This must be inherited *after* EGIT/CROS_WORKON variables defined
25 inherit cros-workon 26 inherit cros-workon
26 27
27 BUILD_ROOT="${WORKDIR}/${P}/builds" 28 BUILD_ROOT="${WORKDIR}/${P}/builds"
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 tc-getCC 90 tc-getCC
90 91
91 for config in ${REQUIRED_UBOOT_CONFIGS}; do 92 for config in ${REQUIRED_UBOOT_CONFIGS}; do
92 emake \ 93 emake \
93 O="${BUILD_ROOT}/${config}" \ 94 O="${BUILD_ROOT}/${config}" \
94 ARCH=$(tc-arch-kernel) \ 95 ARCH=$(tc-arch-kernel) \
95 CROSS_COMPILE="${CHOST}-" \ 96 CROSS_COMPILE="${CHOST}-" \
96 USE_PRIVATE_LIBGCC=yes \ 97 USE_PRIVATE_LIBGCC=yes \
97 HOSTCC=${CC} \ 98 HOSTCC=${CC} \
98 HOSTSTRIP=true \ 99 HOSTSTRIP=true \
99 » VBOOT="${ROOT}/usr" \ 100 » VBOOT="${ROOT%/}/usr" \
101 » CROS_CONFIG_PATH="${ROOT%/}/u-boot" \
100 all || die "U-Boot compile ${config} failed" 102 all || die "U-Boot compile ${config} failed"
101 done 103 done
102 } 104 }
103 105
104 src_install() { 106 src_install() {
105 local config 107 local config
106 local build_root 108 local build_root
107 local common_files_installed='n' 109 local common_files_installed='n'
108 110
109 dodir /u-boot 111 dodir /u-boot
(...skipping 13 matching lines...) Expand all
123 common_files_installed='y' 125 common_files_installed='y'
124 fi 126 fi
125 127
126 # TODO(vbendeb): remove this after transition to generation of 128 # TODO(vbendeb): remove this after transition to generation of
127 # aggregate u-boot.bin is finished. 129 # aggregate u-boot.bin is finished.
128 if [ "${dest_file_name}" == "u-boot-recovery.bin" ]; then 130 if [ "${dest_file_name}" == "u-boot-recovery.bin" ]; then
129 doins "${build_root}/u-boot.bin" || die 131 doins "${build_root}/u-boot.bin" || die
130 fi 132 fi
131 done 133 done
132 } 134 }
OLDNEW
« no previous file with comments | « chromeos-base/u-boot-config/u-boot-config-9999.ebuild ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698