2013-05-29 09:27:30 +08:00
|
|
|
#
|
2014-05-21 05:01:18 +08:00
|
|
|
# Copyright (C) 2013-2014 OpenWrt.org
|
2013-05-29 09:27:30 +08:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
2022-04-01 21:11:34 +08:00
|
|
|
PKG_VERSION:=2022.01
|
2021-10-03 01:03:32 +08:00
|
|
|
PKG_RELEASE:=$(AUTORELEASE)
|
2013-05-29 09:27:30 +08:00
|
|
|
|
2022-04-01 21:11:34 +08:00
|
|
|
PKG_HASH:=81b4543227db228c03f8a1bf5ddbc813b0bb8f6555ce46064ef721a6fc680413
|
2014-05-21 05:01:18 +08:00
|
|
|
|
2017-01-23 17:14:55 +08:00
|
|
|
include $(INCLUDE_DIR)/u-boot.mk
|
2013-05-29 09:27:30 +08:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
2017-01-23 17:14:55 +08:00
|
|
|
define U-Boot/Default
|
2021-03-29 00:51:58 +08:00
|
|
|
BUILD_TARGET:=imx
|
2017-01-23 17:14:55 +08:00
|
|
|
UBOOT_IMAGE:=u-boot.imx
|
2013-05-29 09:27:30 +08:00
|
|
|
endef
|
|
|
|
|
2018-11-27 06:31:53 +08:00
|
|
|
define U-Boot/apalis_imx6
|
|
|
|
NAME:=Toradex Apalis
|
|
|
|
UBOOT_IMAGE:=SPL u-boot.img u-boot-with-spl.imx
|
2022-05-28 20:18:06 +08:00
|
|
|
UBOOT_MAKE_FLAGS+=SPL u-boot.img u-boot-with-spl.imx
|
2021-03-29 06:48:15 +08:00
|
|
|
BUILD_SUBTARGET:=cortexa9
|
2021-03-29 07:02:52 +08:00
|
|
|
BUILD_DEVICES:=toradex_apalis
|
2018-11-27 06:31:53 +08:00
|
|
|
endef
|
|
|
|
|
2018-07-09 17:09:53 +08:00
|
|
|
define U-Boot/mx6cuboxi
|
2021-01-08 00:28:36 +08:00
|
|
|
NAME:=SolidRun Cubox-i boards
|
2022-04-01 21:11:37 +08:00
|
|
|
UBOOT_IMAGE:=SPL u-boot-dtb.img
|
2022-05-28 20:18:06 +08:00
|
|
|
UBOOT_MAKE_FLAGS+=SPL u-boot-dtb.img
|
2021-03-29 06:48:15 +08:00
|
|
|
BUILD_SUBTARGET:=cortexa9
|
2021-03-29 07:02:52 +08:00
|
|
|
BUILD_DEVICES:=solidrun_cubox-i
|
2018-07-09 17:09:53 +08:00
|
|
|
endef
|
|
|
|
|
2022-04-18 07:21:59 +08:00
|
|
|
define U-Boot/pico-pi-imx7d
|
|
|
|
NAME:=TechNexion PICO-PI-IMX7D
|
|
|
|
UBOOT_IMAGE:=SPL u-boot-dtb.img
|
2022-07-12 15:22:15 +08:00
|
|
|
UBOOT_MAKE_FLAGS+=SPL u-boot-dtb.img
|
2022-04-18 07:21:59 +08:00
|
|
|
BUILD_SUBTARGET:=cortexa7
|
|
|
|
BUILD_DEVICES:=technexion_imx7d-pico-pi
|
|
|
|
endef
|
|
|
|
|
2018-04-26 23:52:14 +08:00
|
|
|
define U-Boot/wandboard
|
|
|
|
NAME:=Wandboard Dual Lite/Quad/Solo
|
2021-03-29 06:48:15 +08:00
|
|
|
BUILD_SUBTARGET:=cortexa9
|
2021-03-29 07:02:52 +08:00
|
|
|
BUILD_DEVICES:=wandboard_dual
|
2013-09-26 16:36:09 +08:00
|
|
|
endef
|
|
|
|
|
2017-01-23 17:14:55 +08:00
|
|
|
UBOOT_TARGETS := \
|
2018-11-27 06:31:53 +08:00
|
|
|
apalis_imx6 \
|
2018-07-09 17:09:53 +08:00
|
|
|
mx6cuboxi \
|
2022-04-18 07:21:59 +08:00
|
|
|
pico-pi-imx7d \
|
2018-04-26 23:52:14 +08:00
|
|
|
wandboard
|
|
|
|
|
|
|
|
UBOOT_MAKE_FLAGS += u-boot.imx
|
2013-05-29 09:27:30 +08:00
|
|
|
|
2018-08-26 19:47:23 +08: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 17:14:55 +08:00
|
|
|
$(eval $(call BuildPackage/U-Boot))
|