OLD | NEW |
(Empty) | |
| 1 # Copyright (c) 2011 The Chromium OS Authors. All rights reserved. |
| 2 # Distributed under the terms of the GNU General Public License v2 |
| 3 |
| 4 EAPI=2 |
| 5 |
| 6 DESCRIPTION="ChromeOS specific U-Boot configurations" |
| 7 HOMEPAGE="http://chromium.org" |
| 8 LICENSE="BSD" |
| 9 SLOT="0" |
| 10 KEYWORDS="~arm" |
| 11 IUSE="" |
| 12 |
| 13 RDEPEND="" |
| 14 DEPEND="" |
| 15 |
| 16 # This must be inherited *after* EGIT/CROS_WORKON variables defined |
| 17 inherit cros-workon |
| 18 |
| 19 src_install() { |
| 20 local arch=$(echo ${CHROMEOS_U_BOOT_CONFIG} | cut -d_ -f2) |
| 21 local board=${arch}/$(echo ${CHROMEOS_U_BOOT_CONFIG} | cut -d_ -f3) |
| 22 |
| 23 for directory in . ${arch} ${arch}/parts ${board} ${board}/parts; do |
| 24 dodir /u-boot/configs/chromeos/${directory} |
| 25 insinto /u-boot/configs/chromeos/${directory} |
| 26 |
| 27 doins ${directory}/* || die |
| 28 done |
| 29 } |
OLD | NEW |