1 # Copyright 1999-2018 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit toolchain-funcs
8 MY_P="u-boot-${PV/_/-}"
9 DESCRIPTION="utilities for working with Das U-Boot"
10 HOMEPAGE="http://www.denx.de/wiki/U-Boot/WebHome"
11 SRC_URI="ftp://ftp.denx.de/pub/u-boot/${MY_P}.tar.bz2"
15 KEYWORDS="~amd64 ~arm ~arm64 ~x86"
21 # Unset a few KBUILD variables. Bug #540476
22 unset KBUILD_OUTPUT KBUILD_SRC
27 HOSTCC="$(tc-getCC)" \
28 HOSTCFLAGS="${CFLAGS} ${CPPFLAGS}"' $(HOSTCPPFLAGS)' \
29 HOSTLDFLAGS="${LDFLAGS}" \
30 CONFIG_ENV_OVERWRITE=y \
36 dobin bmp_logo dumpimage fdtgrep gen_eth_addr img2srec mkenvimage mkimage
37 dobin easylogo/easylogo
39 dosym fw_printenv /usr/bin/fw_setenv
41 doins env/fw_env.config
42 doman "${S}"/doc/mkimage.1