1 # Copyright 1999-2016 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 inherit eutils toolchain-funcs
9 SRC_URI="https://github.com/linux-sunxi/sunxi-tools/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
11 DESCRIPTION="Tools for Allwinner A10 devices."
12 HOMEPAGE="http://linux-sunxi.org/"
19 DEPEND="virtual/libusb"
22 emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} -std=c99 -D_POSIX_C_SOURCE=200112L -Iinclude/" all misc
26 dobin bin2fex fex2bin phoenix_info
27 newbin sunxi-bootinfo bootinfo
29 newbin sunxi-fexc fexc
30 newbin sunxi-nand-part nand-part