| # Copyright 2020 The ChromiumOS Authors |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| EAPI=7 |
| |
| CROS_WORKON_COMMIT="9212cdcb482cdaf948269ddf6df48f8f27cd69b9" |
| CROS_WORKON_TREE="5f840db741fb89abe79c30df3a56a38bd703797c" |
| CROS_WORKON_PROJECT="chromiumos/third_party/u-boot" |
| CROS_WORKON_LOCALNAME="u-boot/files" |
| CROS_WORKON_SUBTREE="tools/binman" |
| CROS_WORKON_EGIT_BRANCH="chromeos-v2020.01" |
| |
| PYTHON_COMPAT=( python3_{6..9} ) |
| |
| inherit cros-workon distutils-r1 |
| |
| DESCRIPTION="Binman tool (from U-Boot) for creating / adjusting firmware images" |
| HOMEPAGE="https://www.denx.de/wiki/U-Boot" |
| |
| LICENSE="GPL-2" |
| SLOT="0/0" |
| KEYWORDS="*" |
| IUSE="" |
| |
| BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" |
| RDEPEND=" |
| dev-embedded/dtoc |
| dev-vcs/patman |
| " |
| |
| src_unpack() { |
| cros-workon_src_unpack |
| |
| S+=/tools/binman |
| } |