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
:=50bd7e5a466ab828914d080d5f6a432345b500e8fba1ad3b7b61e95e60d51c22
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
27 BUILD_DEVICES
:=cubox-i
31 define U-Boot
/mx6sabresd
32 NAME
:=SABRE i.MX6Quad board
35 define U-Boot
/nitrogen6dl
36 NAME
:=Nitrogen6x i.MX6Dual-Lite
1GB board
39 define U-Boot
/nitrogen6dl2g
40 NAME
:=Nitrogen6x i.MX6Dual-Lite
2GB board
43 define U-Boot
/nitrogen6q
44 NAME
:=Nitrogen6x
/SABRE Lite
(MX6Q
/1GB
)
47 define U-Boot
/nitrogen6q2g
48 NAME
:=Nitrogen6x i.MX6Quad
2GB board
51 define U-Boot
/nitrogen6s
52 NAME
:=Nitrogen6x i.MX6Solo
512MB board
55 define U-Boot
/nitrogen6s1g
56 NAME
:=Nitrogen6x i.MX6Solo
1GB board
59 define U-Boot
/wandboard
60 NAME
:=Wandboard Dual Lite
/Quad
/Solo
61 BUILD_DEVICES
:=wandboard
75 UBOOT_MAKE_FLAGS
+= u-boot.imx
77 define Build
/InstallDev
78 $(INSTALL_DIR
) $(STAGING_DIR_IMAGE
)
79 $(foreach img
,$(UBOOT_IMAGE
), \
80 $(CP
) $(PKG_BUILD_DIR
)/$(img
) $(STAGING_DIR_IMAGE
)/$(BUILD_VARIANT
)-$(img
); \
84 $(eval
$(call BuildPackage
/U-Boot
))