2013-05-29 01:27:30 +00:00
|
|
|
#
|
2014-05-20 21:01:18 +00:00
|
|
|
# Copyright (C) 2013-2014 OpenWrt.org
|
2013-05-29 01:27:30 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
2018-04-26 15:52:14 +00:00
|
|
|
PKG_VERSION:=2018.03
|
2013-05-29 01:27:30 +00:00
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
2018-04-26 15:52:14 +00:00
|
|
|
PKG_HASH:=7e7477534409d5368eb1371ffde6820f0f79780a1a1f676161c48442cb303dfd
|
2014-05-20 21:01:18 +00:00
|
|
|
|
2017-01-23 09:14:55 +00:00
|
|
|
include $(INCLUDE_DIR)/u-boot.mk
|
2013-05-29 01:27:30 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
2017-01-23 09:14:55 +00:00
|
|
|
define U-Boot/Default
|
|
|
|
BUILD_TARGET:=imx6
|
|
|
|
UBOOT_IMAGE:=u-boot.imx
|
2013-05-29 01:27:30 +00:00
|
|
|
endef
|
|
|
|
|
2018-07-09 09:09:53 +00:00
|
|
|
define U-Boot/mx6cuboxi
|
|
|
|
NAME:=SolidRun Cubox-i boards
|
|
|
|
UBOOT_IMAGE:=SPL u-boot.img
|
|
|
|
UBOOT_MAKE_FLAGS:=SPL u-boot.img
|
|
|
|
endef
|
|
|
|
|
2018-04-26 15:52:14 +00:00
|
|
|
define U-Boot/mx6sabresd
|
2017-01-23 09:14:55 +00:00
|
|
|
NAME:=SABRE i.MX6Quad board
|
2015-12-28 04:56:33 +00:00
|
|
|
endef
|
|
|
|
|
2017-01-23 09:14:55 +00:00
|
|
|
define U-Boot/nitrogen6dl
|
|
|
|
NAME:=Nitrogen6x i.MX6Dual-Lite 1GB board
|
2013-09-26 08:36:12 +00:00
|
|
|
endef
|
|
|
|
|
2017-01-23 09:14:55 +00:00
|
|
|
define U-Boot/nitrogen6dl2g
|
|
|
|
NAME:=Nitrogen6x i.MX6Dual-Lite 2GB board
|
2013-09-26 08:36:12 +00:00
|
|
|
endef
|
|
|
|
|
2017-01-23 09:14:55 +00:00
|
|
|
define U-Boot/nitrogen6q
|
|
|
|
NAME:=Nitrogen6x/SABRE Lite (MX6Q/1GB)
|
2013-09-26 08:36:12 +00:00
|
|
|
endef
|
|
|
|
|
2017-01-23 09:14:55 +00:00
|
|
|
define U-Boot/nitrogen6q2g
|
|
|
|
NAME:=Nitrogen6x i.MX6Quad 2GB board
|
2013-09-26 08:36:12 +00:00
|
|
|
endef
|
|
|
|
|
2017-01-23 09:14:55 +00:00
|
|
|
define U-Boot/nitrogen6s
|
|
|
|
NAME:=Nitrogen6x i.MX6Solo 512MB board
|
2013-09-26 08:36:12 +00:00
|
|
|
endef
|
|
|
|
|
2017-01-23 09:14:55 +00:00
|
|
|
define U-Boot/nitrogen6s1g
|
|
|
|
NAME:=Nitrogen6x i.MX6Solo 1GB board
|
2013-09-26 08:36:12 +00:00
|
|
|
endef
|
|
|
|
|
2018-04-26 15:52:14 +00:00
|
|
|
define U-Boot/wandboard
|
|
|
|
NAME:=Wandboard Dual Lite/Quad/Solo
|
2017-01-23 09:14:55 +00:00
|
|
|
BUILD_DEVICES:=wandboard
|
2013-09-26 08:36:09 +00:00
|
|
|
endef
|
|
|
|
|
2017-01-23 09:14:55 +00:00
|
|
|
UBOOT_TARGETS := \
|
2018-07-09 09:09:53 +00:00
|
|
|
mx6cuboxi \
|
2018-04-26 15:52:14 +00:00
|
|
|
mx6sabresd \
|
2013-09-26 08:36:12 +00:00
|
|
|
nitrogen6dl \
|
2013-09-26 09:03:47 +00:00
|
|
|
nitrogen6dl2g \
|
2013-09-26 08:36:12 +00:00
|
|
|
nitrogen6q \
|
|
|
|
nitrogen6q2g \
|
|
|
|
nitrogen6s \
|
|
|
|
nitrogen6s1g \
|
2018-04-26 15:52:14 +00:00
|
|
|
wandboard
|
|
|
|
|
|
|
|
UBOOT_MAKE_FLAGS += u-boot.imx
|
2013-05-29 01:27:30 +00:00
|
|
|
|
2018-08-26 11:47:23 +00:00
|
|
|
define Build/InstallDev
|
|
|
|
$(INSTALL_DIR) $(STAGING_DIR_IMAGE)
|
|
|
|
$(foreach img,$(UBOOT_IMAGE), \
|
|
|
|
$(CP) $(PKG_BUILD_DIR)/$(img) $(STAGING_DIR_IMAGE)/$(BUILD_VARIANT)-$(img); \
|
|
|
|
)
|
|
|
|
endef
|
|
|
|
|
2017-01-23 09:14:55 +00:00
|
|
|
$(eval $(call BuildPackage/U-Boot))
|