Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Copyright 1999-2014 Gentoo Foundation
- # Distributed under the terms of the GNU General Public License v2
- EAPI=5
- inherit git-r3
- EGIT_REPO_URI="git://github.com/linux-sunxi/u-boot-sunxi.git"
- DESCRIPTION="u-boot for Allwinner sunxi series of SoCs (A10, A13, A10s, and A20)"
- HOMEPAGE="https://github.com/linux-sunxi/u-boot-sunxi"
- SLOT="0"
- KEYWORDS="~arm"
- # List of sunxi boards. See boards.cfg
- SUNXI_BOARDS="
- A10_MID_1GB
- A10s-OLinuXino-M
- A10s-OLinuXino-M_FEL
- A10-OLinuXino-Lime
- A13-OLinuXino
- A13-OLinuXino_FEL
- A13-OLinuXino_FEL_sdcon
- A13-OLinuXinoM
- A13-OLinuXinoM_FEL
- A13_MID
- A20-OLinuXino_MICRO
- A20-OLinuXino_MICRO_FEL
- Auxtek-T003
- Auxtek-T004
- ba10_tv_box
- Coby_MID7042
- Coby_MID8042
- Coby_MID9742
- Cubieboard
- Cubieboard2
- Cubieboard2_FEL
- Cubietruck
- Cubietruck_FEL
- Cubieboard_512
- Cubieboard_FEL
- DNS_M82
- EOMA68_A10
- EOMA68_A10_FEL
- EOMA68_A20
- EOMA68_A20_FEL
- EU3000
- Gooseberry_A721
- H6
- Hackberry
- Hyundai_A7HD
- Interra-3
- INet97F-II
- INet_K70HC
- Jesurun-Q5
- K1001L1C
- Marsboard_A10
- Marsboard_A20
- Marsboard_A20_debug
- Megafeis_A08
- Mele_A1000
- Mele_A1000_FEL
- Mele_A1000G
- Mele_A3700
- Mini-X
- Mini-X-1Gb
- Mini-X_A10s
- mk802
- mk802-1gb
- mk802_a10s
- mk802ii_A20
- mk802ii
- pcDuino
- pengpod1000
- pengpod700
- PoV_ProTab2_IPS9
- PoV_ProTab2_IPS_3g
- PoV_ProTab2_XXL
- r7-tv-dongle
- Sanei_N90
- sun4i
- sun4i_sdcon
- sun5i
- sun5i_sdcon
- sun5i_uart1
- uhost_u1a
- wobo-i5
- xzpad700
- "
- for board in ${SUNXI_BOARDS}; do
- IUSE_SUNXI_BOARDS+=" sunxi_boards_${board}"
- done
- IUSE="${IUSE_SUNXI_BOARDS}"
- REQUIRED_USE="^^ ( ${IUSE_SUNXI_BOARDS} )"
- src_prepare() {
- epatch "${FILESDIR}/${PN}-common-makefile.patch"
- }
- src_configire() {
- for board in ${IUSE_SUNXI_BOARDS}; do
- use "sunxi_boards_${board}" && emake "${board}"_config
- done
- }
- src_install() {
- insinto "/usr/share/${PF}" && doins u-boot.bin
- insinto "/usr/share/${PF}" && doins u-boot-sunxi-with-spl.bin
- insinto "/usr/share/${PF}/spl" && doins spl/sunxi-spl.bin
- dodoc doc/README.*
- elog "This build allows booting from SD, over USB and over ethernet,"
- elog "but it still lacks support for booting off the NAND."
- elog "To be able to boot off of the NAND, please read wiki"
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement