dd3a9967366b5d77dc81cd82b67b02b30648733d
[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/mx6cuboxi
24 NAME:=SolidRun Cubox-i boards
25 UBOOT_IMAGE:=SPL u-boot.img
26 UBOOT_MAKE_FLAGS:=SPL u-boot.img
27 endef
28
29 define U-Boot/mx6sabresd
30 NAME:=SABRE i.MX6Quad board
31 endef
32
33 define U-Boot/nitrogen6dl
34 NAME:=Nitrogen6x i.MX6Dual-Lite 1GB board
35 endef
36
37 define U-Boot/nitrogen6dl2g
38 NAME:=Nitrogen6x i.MX6Dual-Lite 2GB board
39 endef
40
41 define U-Boot/nitrogen6q
42 NAME:=Nitrogen6x/SABRE Lite (MX6Q/1GB)
43 endef
44
45 define U-Boot/nitrogen6q2g
46 NAME:=Nitrogen6x i.MX6Quad 2GB board
47 endef
48
49 define U-Boot/nitrogen6s
50 NAME:=Nitrogen6x i.MX6Solo 512MB board
51 endef
52
53 define U-Boot/nitrogen6s1g
54 NAME:=Nitrogen6x i.MX6Solo 1GB board
55 endef
56
57 define U-Boot/wandboard
58 NAME:=Wandboard Dual Lite/Quad/Solo
59 BUILD_DEVICES:=wandboard
60 endef
61
62 UBOOT_TARGETS := \
63 mx6cuboxi \
64 mx6sabresd \
65 nitrogen6dl \
66 nitrogen6dl2g \
67 nitrogen6q \
68 nitrogen6q2g \
69 nitrogen6s \
70 nitrogen6s1g \
71 wandboard
72
73 UBOOT_MAKE_FLAGS += u-boot.imx
74
75 $(eval $(call BuildPackage/U-Boot))