6d52e81be133908003bb2af583c23264654c26ca
[openwrt/openwrt.git] / package / boot / uboot-zynq / Makefile
1 #
2 # Copyright (C) 2015 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_VERSION:=2018.07
11
12 PKG_HASH:=9f10df88bc91b35642e461217f73256bbaeeca9ae2db8db56197ba5e89e1f6d4
13
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
18
19 define U-Boot/Default
20 BUILD_TARGET:=zynq
21 UBOOT_IMAGE:=spl/boot.bin u-boot.img
22 UBOOT_CONFIG:=zynq_$(1)
23 endef
24
25 define U-Boot/zc702
26 NAME:=Xilinx ZC702 Dev Board
27 endef
28
29 define U-Boot/zc706
30 NAME:=Xilinx ZC706 Dev Board
31 endef
32
33 define U-Boot/zed
34 NAME:=Avnet Digilent ZedBoard Dev Board
35 endef
36
37 define U-Boot/zybo
38 NAME:=Digilent Zybo Dev Board
39 endef
40
41 define U-Boot/zybo_z7
42 NAME:=Digilent Zybo Z7 board
43 endef
44
45 UBOOT_TARGETS := \
46 zc702 \
47 zed \
48 zybo \
49 zybo_z7
50
51 Build/Exports:=$(Host/Exports)
52
53 $(eval $(call BuildPackage/U-Boot))