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

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

Issue 3607006: Changing ebuilds for porting vboot_reference to u-boot (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/chromiumos-overlay.git
Patch Set: Add install sysincludes.h Created 10 years, 2 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/vboot_reference/vboot_reference-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) 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 cros-workon toolchain-funcs 6 inherit cros-workon 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 14
15 DEPEND="" 15 # U-Boot should have no runtime dependencies; everything it depends on must be
16 RDEPEND="${DEPEND}" 16 # statically linked.
17 RDEPEND=""
18 DEPEND="chromeos-base/vboot_reference"
17 19
18 u_boot=${CHROMEOS_U_BOOT:-"files"} 20 u_boot=${CHROMEOS_U_BOOT:-"files"}
19 config=${CHROMEOS_U_BOOT_CONFIG:-"versatile_config"} 21 config=${CHROMEOS_U_BOOT_CONFIG:-"versatile_config"}
20 22
21 # 23 #
22 # Strip the ebuild directory to construct a valid CROS_WORKON_SUBDIR. This can 24 # Strip the ebuild directory to construct a valid CROS_WORKON_SUBDIR. This can
23 # be removed once all of the overlay make.confs specify CHROMEOS_U_BOOT without 25 # be removed once all of the overlay make.confs specify CHROMEOS_U_BOOT without
24 # the u-boot directory prefixed. 26 # the u-boot directory prefixed.
25 # 27 #
26 CROS_WORKON_SUBDIR="${u_boot#u-boot/}" 28 CROS_WORKON_SUBDIR="${u_boot#u-boot/}"
(...skipping 12 matching lines...) Expand all
39 src_compile() { 41 src_compile() {
40 tc-getCC 42 tc-getCC
41 tc-getSTRIP 43 tc-getSTRIP
42 44
43 emake \ 45 emake \
44 ARCH=$(tc-arch-kernel) \ 46 ARCH=$(tc-arch-kernel) \
45 CROSS_COMPILE="${CHOST}-" \ 47 CROSS_COMPILE="${CHOST}-" \
46 USE_PRIVATE_LIBGCC=yes \ 48 USE_PRIVATE_LIBGCC=yes \
47 HOSTCC=${CC} \ 49 HOSTCC=${CC} \
48 HOSTSTRIP=${STRIP} \ 50 HOSTSTRIP=${STRIP} \
51 VBOOT="${ROOT}/usr" \
49 all || die "U-Boot compile failed" 52 all || die "U-Boot compile failed"
50 } 53 }
51 54
52 src_install() { 55 src_install() {
53 dodir /u-boot 56 dodir /u-boot
54 57
55 insinto /u-boot 58 insinto /u-boot
56 doins u-boot.bin || die 59 doins u-boot.bin || die
57 60
58 dobin "${S}"/tools/mkimage || die 61 dobin "${S}"/tools/mkimage || die
59 } 62 }
OLDNEW
« no previous file with comments | « chromeos-base/vboot_reference/vboot_reference-9999.ebuild ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698