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
|
2021-10-02 17:03:32 +00:00
|
|
|
PKG_RELEASE:=$(AUTORELEASE)
|
2013-05-29 01:27:30 +00:00
|
|
|
|
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
|
2021-03-28 16:51:58 +00:00
|
|
|
BUILD_TARGET:=imx
|
2017-01-23 09:14:55 +00:00
|
|
|
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
|
2022-05-28 12:18:06 +00:00
|
|
|
UBOOT_MAKE_FLAGS+=SPL u-boot.img u-boot-with-spl.imx
|
2021-03-28 22:48:15 +00:00
|
|
|
BUILD_SUBTARGET:=cortexa9
|
2021-03-28 23:02:52 +00:00
|
|
|
BUILD_DEVICES:=toradex_apalis
|
2018-11-26 22:31:53 +00:00
|
|
|
endef
|
|
|
|
|
2018-07-09 09:09:53 +00:00
|
|
|
define U-Boot/mx6cuboxi
|
2021-01-07 16:28:36 +00:00
|
|
|
NAME:=SolidRun Cubox-i boards
|
|
|
|
UBOOT_IMAGE:=SPL u-boot.img
|
2022-05-28 12:18:06 +00:00
|
|
|
UBOOT_MAKE_FLAGS+=SPL u-boot.img
|
2021-03-28 22:48:15 +00:00
|
|
|
BUILD_SUBTARGET:=cortexa9
|
2021-03-28 23:02:52 +00:00
|
|
|
BUILD_DEVICES:=solidrun_cubox-i
|
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
|
2021-03-28 22:48:15 +00:00
|
|
|
BUILD_SUBTARGET:=cortexa9
|
2021-03-28 23:02:52 +00:00
|
|
|
BUILD_DEVICES:=wandboard_dual
|
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))
|