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
|
|
|
|
|
2021-02-14 22:22:55 +00:00
|
|
|
PKG_VERSION:=2020.04
|
2013-05-29 01:27:30 +00:00
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
2021-02-14 22:22:55 +00:00
|
|
|
PKG_HASH:=fe732aaf037d9cc3c0909bad8362af366ae964bbdac6913a34081ff4ad565372
|
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-11-26 22:31:53 +00:00
|
|
|
define U-Boot/apalis_imx6
|
|
|
|
NAME:=Toradex Apalis
|
|
|
|
UBOOT_IMAGE:=SPL u-boot.img u-boot-with-spl.imx
|
|
|
|
UBOOT_MAKE_FLAGS:=SPL u-boot.img u-boot-with-spl.imx
|
|
|
|
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
|
2018-09-05 07:56:52 +00:00
|
|
|
BUILD_DEVICES:=cubox-i
|
|
|
|
HIDDEN:=1
|
2018-07-09 09:09:53 +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-11-26 22:31:53 +00:00
|
|
|
apalis_imx6 \
|
2018-07-09 09:09:53 +00:00
|
|
|
mx6cuboxi \
|
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))
|