d25ecfb4bb84b994aea6c722be740670b5e16f74
[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:=2016.03
11
12 PKG_HASH:=e49337262ecac44dbdeac140f2c6ebd1eba345e0162b0464172e7f05583ed7bb
13
14 include $(INCLUDE_DIR)/kernel.mk
15 include $(INCLUDE_DIR)/u-boot.mk
16 include $(INCLUDE_DIR)/package.mk
17
18 define U-Boot/Default
19 BUILD_TARGET:=zynq
20 UBOOT_IMAGE:=u-boot u-boot-dtb.bin u-boot.dtb u-boot-dtb.img spl/boot.bin spl/u-boot-spl spl/u-boot-spl-dtb.bin
21 UBOOT_CONFIG:=zynq_$(1)
22 endef
23
24 define U-Boot/zc702
25 NAME:=Xilinx ZC702 Dev Board
26 endef
27
28 define U-Boot/zc706
29 NAME:=Xilinx ZC706 Dev Board
30 endef
31
32 define U-Boot/zed
33 NAME:=Avnet Digilent ZedBoard Dev Board
34 endef
35
36 define U-Boot/zybo
37 NAME:=Digilent Zybo Dev Board
38 endef
39
40 UBOOT_TARGETS := \
41 zc702 \
42 zed \
43 zybo
44
45 $(eval $(call BuildPackage/U-Boot))