613a5338ef5fef648a1f08d30a6c2892ad5ea9af
[openwrt/openwrt.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:=2018.03
11 PKG_RELEASE:=1
12
13 PKG_HASH:=7e7477534409d5368eb1371ffde6820f0f79780a1a1f676161c48442cb303dfd
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/mx6sabresd
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
52 NAME:=Wandboard Dual Lite/Quad/Solo
53 BUILD_DEVICES:=wandboard
54 endef
55
56 UBOOT_TARGETS := \
57 mx6sabresd \
58 nitrogen6dl \
59 nitrogen6dl2g \
60 nitrogen6q \
61 nitrogen6q2g \
62 nitrogen6s \
63 nitrogen6s1g \
64 wandboard
65
66 UBOOT_MAKE_FLAGS += u-boot.imx
67
68 $(eval $(call BuildPackage/U-Boot))