2 # Copyright (C) 2015 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
12 PKG_HASH
:=9f10df88bc91b35642e461217f73256bbaeeca9ae2db8db56197ba5e89e1f6d4
14 include $(INCLUDE_DIR
)/kernel.mk
15 include $(INCLUDE_DIR
)/u-boot.mk
16 include $(INCLUDE_DIR
)/package.mk
17 include $(INCLUDE_DIR
)/host-build.mk
21 UBOOT_IMAGE
:=spl
/boot.bin u-boot.img
22 UBOOT_CONFIG
:=zynq_
$(1)
28 NAME
:=Xilinx ZC702 Dev Board
29 BUILD_DEVICES
:=xlnx_zynq-zc702
33 NAME
:=Avnet Digilent ZedBoard Dev Board
34 BUILD_DEVICES
:=avnet_zynq-zed
38 NAME
:=Digilent Zybo Dev Board
39 BUILD_DEVICES
:=digilent_zynq-zybo
43 NAME
:=Digilent Zybo Z7 board
44 BUILD_DEVICES
:=digilent_zynq-zybo-z7
53 define Build
/InstallDev
54 $(INSTALL_DIR
) $(STAGING_DIR_IMAGE
)
55 $(CP
) $(PKG_BUILD_DIR
)/spl
/boot.bin
$(STAGING_DIR_IMAGE
)/$(BUILD_DEVICES
)-boot.bin
56 $(CP
) $(PKG_BUILD_DIR
)/u-boot.img
$(STAGING_DIR_IMAGE
)/$(BUILD_DEVICES
)-u-boot.img
57 $(CP
) .
/files
/uEnv-
$(UENV
).txt
$(STAGING_DIR_IMAGE
)/$(BUILD_DEVICES
)-uEnv.txt
60 define Package
/u-boot
/install/default
63 Build
/Exports
:=$(Host
/Exports
)
65 $(eval
$(call BuildPackage
/U-Boot
))