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
:=76b7772d156b3ddd7644c8a1736081e55b78828537ff714065d21dbade229bef
15 include $(INCLUDE_DIR
)/u-boot.mk
16 include $(INCLUDE_DIR
)/package.mk
20 UBOOT_IMAGE
:=u-boot.imx
23 define U-Boot
/apalis_imx6
25 UBOOT_IMAGE
:=SPL u-boot.img u-boot-with-spl.imx
26 UBOOT_MAKE_FLAGS
:=SPL u-boot.img u-boot-with-spl.imx
29 define U-Boot
/mx6cuboxi
30 NAME
:=SolidRun Cubox-i boards
31 UBOOT_IMAGE
:=SPL u-boot.img
32 UBOOT_MAKE_FLAGS
:=SPL u-boot.img
33 BUILD_DEVICES
:=cubox-i
37 define U-Boot
/mx6sabresd
38 NAME
:=SABRE i.MX6Quad board
41 define U-Boot
/nitrogen6dl
42 NAME
:=Nitrogen6x i.MX6Dual-Lite
1GB board
45 define U-Boot
/nitrogen6dl2g
46 NAME
:=Nitrogen6x i.MX6Dual-Lite
2GB board
49 define U-Boot
/nitrogen6q
50 NAME
:=Nitrogen6x
/SABRE Lite
(MX6Q
/1GB
)
53 define U-Boot
/nitrogen6q2g
54 NAME
:=Nitrogen6x i.MX6Quad
2GB board
57 define U-Boot
/nitrogen6s
58 NAME
:=Nitrogen6x i.MX6Solo
512MB board
61 define U-Boot
/nitrogen6s1g
62 NAME
:=Nitrogen6x i.MX6Solo
1GB board
65 define U-Boot
/wandboard
66 NAME
:=Wandboard Dual Lite
/Quad
/Solo
67 BUILD_DEVICES
:=wandboard
82 UBOOT_MAKE_FLAGS
+= u-boot.imx
84 define Build
/InstallDev
85 $(INSTALL_DIR
) $(STAGING_DIR_IMAGE
)
86 $(foreach img
,$(UBOOT_IMAGE
), \
87 $(CP
) $(PKG_BUILD_DIR
)/$(img
) $(STAGING_DIR_IMAGE
)/$(BUILD_VARIANT
)-$(img
); \
91 $(eval
$(call BuildPackage
/U-Boot
))