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