sunxi: add Orange Pi 2 support
[openwrt/staging/wigyori.git] / package / boot / uboot-imx6 / Makefile
1 #
2 # Copyright (C) 2013-2014 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:=2014.04
11 PKG_RELEASE:=1
12
13 PKG_HASH:=7b6444bd23eb61068c43bd1d44ec7e7bfdbce5cadeca20c833eee186b4d3fd31
14
15 include $(INCLUDE_DIR)/u-boot.mk
16 include $(INCLUDE_DIR)/package.mk
17
18 define U-Boot/Default
19 BUILD_TARGET:=imx6
20 UBOOT_IMAGE:=u-boot.imx
21 endef
22
23 define U-Boot/mx6qsabresd
24 NAME:=SABRE i.MX6Quad board
25 endef
26
27 define U-Boot/nitrogen6dl
28 NAME:=Nitrogen6x i.MX6Dual-Lite 1GB board
29 endef
30
31 define U-Boot/nitrogen6dl2g
32 NAME:=Nitrogen6x i.MX6Dual-Lite 2GB board
33 endef
34
35 define U-Boot/nitrogen6q
36 NAME:=Nitrogen6x/SABRE Lite (MX6Q/1GB)
37 endef
38
39 define U-Boot/nitrogen6q2g
40 NAME:=Nitrogen6x i.MX6Quad 2GB board
41 endef
42
43 define U-Boot/nitrogen6s
44 NAME:=Nitrogen6x i.MX6Solo 512MB board
45 endef
46
47 define U-Boot/nitrogen6s1g
48 NAME:=Nitrogen6x i.MX6Solo 1GB board
49 endef
50
51 define U-Boot/wandboard_dl
52 NAME:=Wandboard Dual Lite
53 BUILD_DEVICES:=wandboard
54 endef
55
56 define U-Boot/wandboard_quad
57 NAME:=Wandboard Quad
58 BUILD_DEVICES:=wandboard
59 endef
60
61 define U-Boot/wandboard_solo
62 NAME:=Wandboard Solo
63 BUILD_DEVICES:=wandboard
64 endef
65
66 UBOOT_TARGETS := \
67 mx6qsabresd \
68 nitrogen6dl \
69 nitrogen6dl2g \
70 nitrogen6q \
71 nitrogen6q2g \
72 nitrogen6s \
73 nitrogen6s1g \
74 wandboard_dl \
75 wandboard_quad \
76 wandboard_solo
77
78 $(eval $(call BuildPackage/U-Boot))