OLD | NEW |
(Empty) | |
| 1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. |
| 2 # Distributed under the terms of the GNU General Public License v2 |
| 3 |
| 4 inherit cros-workon |
| 5 |
| 6 DESCRIPTION="Chrome OS verified boot tools" |
| 7 LICENSE="GPL-3" |
| 8 SLOT="0" |
| 9 KEYWORDS="~amd64 ~arm ~x86" |
| 10 IUSE="minimal" |
| 11 EAPI="2" |
| 12 |
| 13 DEPEND="dev-libs/openssl |
| 14 sys-apps/util-linux" |
| 15 |
| 16 EGIT_REPO_URI=git://chromiumos-git/git/repos/not-yet-populated.git |
| 17 SRCPATH=src/platform/vboot_reference |
| 18 |
| 19 src_compile() { |
| 20 tc-export CC AR CXX |
| 21 err_msg="${SRCPATH} compile failed. " |
| 22 err_msg+="Try running 'make clean' in the package root directory" |
| 23 emake || die "${err_msg}" |
| 24 } |
| 25 |
| 26 src_install() { |
| 27 if use minimal ; then |
| 28 emake DESTDIR="${D}/usr/bin" BUILD="${S}"/build -C cgpt \ |
| 29 install || die "${SRCPATH} install failed." |
| 30 else |
| 31 emake DESTDIR="${D}/usr/bin" install || \ |
| 32 die "${SRCPATH} install failed." |
| 33 fi |
| 34 } |
OLD | NEW |