ac4503af50da8e11137fbf66bb7d0cf195b9ee28
[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 UBOOT_TARGETS := \
42 zc702 \
43 zed \
44 zybo
45
46 Build/Exports:=$(Host/Exports)
47
48 $(eval $(call BuildPackage/U-Boot))