| OLD | NEW |
| 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 inherit cros-workon | 4 inherit cros-workon |
| 5 | 5 |
| 6 DESCRIPTION="Chrome OS verified boot tools" | 6 DESCRIPTION="Chrome OS verified boot tools" |
| 7 LICENSE="GPL-3" | 7 LICENSE="GPL-3" |
| 8 SLOT="0" | 8 SLOT="0" |
| 9 KEYWORDS="~amd64 ~arm ~x86" | 9 KEYWORDS="~amd64 ~arm ~x86" |
| 10 IUSE="minimal rbtest tpmtests" | 10 IUSE="minimal rbtest tpmtests" |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 if use rbtest; then | 66 if use rbtest; then |
| 67 emake DESTDIR="${D}/usr/bin" BUILD="${S}"/build -C tests \ | 67 emake DESTDIR="${D}/usr/bin" BUILD="${S}"/build -C tests \ |
| 68 install-rbtest || die "${PN} install failed." | 68 install-rbtest || die "${PN} install failed." |
| 69 fi | 69 fi |
| 70 if use tpmtests; then | 70 if use tpmtests; then |
| 71 into "/usr" | 71 into "/usr" |
| 72 # copy files starting with tpmtest, but skip .d files. | 72 # copy files starting with tpmtest, but skip .d files. |
| 73 dobin ${S}/build/tests/tpm_lite/tpmtest*[^.]? | 73 dobin ${S}/build/tests/tpm_lite/tpmtest*[^.]? |
| 74 dobin ${S}/build/utility/tpm_set_readsrkpub | 74 dobin ${S}/build/utility/tpm_set_readsrkpub |
| 75 fi | 75 fi |
| 76 |
| 77 # Install firmware/include to /build/${BOARD}/usr/include/vboot |
| 78 dodir /usr/include/vboot |
| 79 insinto /usr/include/vboot |
| 80 doins -r firmware/include/* |
| 81 |
| 82 # Install vboot_fw.a to /build/${BOARD}/usr/lib |
| 83 insinto /usr |
| 84 dolib.a "${S}"/build/vboot_fw.a |
| 76 } | 85 } |
| OLD | NEW |