2 # Copyright (C) 2013-2014 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
13 PKG_HASH
:=7e7477534409d5368eb1371ffde6820f0f79780a1a1f676161c48442cb303dfd
15 include $(INCLUDE_DIR
)/u-boot.mk
16 include $(INCLUDE_DIR
)/package.mk
20 UBOOT_IMAGE
:=u-boot.imx
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
29 define U-Boot
/mx6sabresd
30 NAME
:=SABRE i.MX6Quad board
33 define U-Boot
/nitrogen6dl
34 NAME
:=Nitrogen6x i.MX6Dual-Lite
1GB board
37 define U-Boot
/nitrogen6dl2g
38 NAME
:=Nitrogen6x i.MX6Dual-Lite
2GB board
41 define U-Boot
/nitrogen6q
42 NAME
:=Nitrogen6x
/SABRE Lite
(MX6Q
/1GB
)
45 define U-Boot
/nitrogen6q2g
46 NAME
:=Nitrogen6x i.MX6Quad
2GB board
49 define U-Boot
/nitrogen6s
50 NAME
:=Nitrogen6x i.MX6Solo
512MB board
53 define U-Boot
/nitrogen6s1g
54 NAME
:=Nitrogen6x i.MX6Solo
1GB board
57 define U-Boot
/wandboard
58 NAME
:=Wandboard Dual Lite
/Quad
/Solo
59 BUILD_DEVICES
:=wandboard
73 UBOOT_MAKE_FLAGS
+= u-boot.imx
75 define Build
/InstallDev
76 $(INSTALL_DIR
) $(STAGING_DIR_IMAGE
)
77 $(foreach img
,$(UBOOT_IMAGE
), \
78 $(CP
) $(PKG_BUILD_DIR
)/$(img
) $(STAGING_DIR_IMAGE
)/$(BUILD_VARIANT
)-$(img
); \
82 $(eval
$(call BuildPackage
/U-Boot
))