2016-03-25 12:07:03 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2016 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
include $(INCLUDE_DIR)/kernel.mk
|
|
|
|
|
2024-10-12 09:08:50 +00:00
|
|
|
PKG_VERSION:=2024.10
|
2023-05-17 13:08:40 +00:00
|
|
|
PKG_RELEASE:=1
|
2016-03-25 12:07:03 +00:00
|
|
|
|
2024-10-12 09:08:50 +00:00
|
|
|
PKG_HASH:=b28daf4ac17e43156363078bf510297584137f6df50fced9b12df34f61a92fb0
|
2016-03-25 12:07:03 +00:00
|
|
|
|
2017-01-23 11:09:10 +00:00
|
|
|
include $(INCLUDE_DIR)/u-boot.mk
|
2016-03-25 12:07:03 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
2018-05-23 07:02:59 +00:00
|
|
|
include $(INCLUDE_DIR)/host-build.mk
|
2016-03-25 12:07:03 +00:00
|
|
|
|
2017-01-23 11:09:10 +00:00
|
|
|
define U-Boot/Default
|
|
|
|
BUILD_TARGET:=mvebu
|
2016-09-23 11:53:27 +00:00
|
|
|
HIDDEN:=1
|
2016-03-25 12:07:03 +00:00
|
|
|
endef
|
|
|
|
|
2017-01-23 11:09:10 +00:00
|
|
|
define U-Boot/clearfog
|
|
|
|
NAME:=SolidRun ClearFog A1
|
2019-05-11 17:37:33 +00:00
|
|
|
BUILD_DEVICES:=solidrun_clearfog-base-a1 solidrun_clearfog-pro-a1
|
2018-03-07 21:10:01 +00:00
|
|
|
BUILD_SUBTARGET:=cortexa9
|
2023-01-12 16:27:14 +00:00
|
|
|
UBOOT_IMAGE:=u-boot-with-spl.kwb
|
2016-03-25 12:07:03 +00:00
|
|
|
endef
|
|
|
|
|
2020-06-03 06:19:51 +00:00
|
|
|
define U-Boot/helios4
|
|
|
|
NAME:=Kobol Helios 4
|
|
|
|
BUILD_DEVICES:=kobol_helios4
|
|
|
|
BUILD_SUBTARGET:=cortexa9
|
2023-01-12 16:27:14 +00:00
|
|
|
UBOOT_IMAGE:=u-boot-with-spl.kwb
|
2020-06-03 06:19:51 +00:00
|
|
|
endef
|
|
|
|
|
2022-01-28 12:37:08 +00:00
|
|
|
define U-Boot/omnia
|
|
|
|
NAME:=Turris Omnia
|
|
|
|
BUILD_DEVICES:=cznic_turris-omnia
|
|
|
|
BUILD_SUBTARGET:=cortexa9
|
|
|
|
UBOOT_CONFIG:=turris_omnia
|
2023-01-12 16:27:14 +00:00
|
|
|
UBOOT_IMAGE:=u-boot-with-spl.kwb
|
2022-01-28 12:37:08 +00:00
|
|
|
endef
|
|
|
|
|
2019-11-02 12:14:08 +00:00
|
|
|
define U-Boot/espressobin
|
|
|
|
NAME:=Marvell ESPRESSObin
|
|
|
|
BUILD_SUBTARGET:=cortexa53
|
|
|
|
UBOOT_CONFIG:=mvebu_espressobin-88f3720
|
|
|
|
endef
|
|
|
|
|
2019-09-09 16:50:26 +00:00
|
|
|
define U-Boot/uDPU
|
|
|
|
NAME:=Methode uDPU
|
|
|
|
BUILD_SUBTARGET:=cortexa53
|
|
|
|
endef
|
|
|
|
|
2022-09-21 16:39:22 +00:00
|
|
|
define U-Boot/eDPU
|
|
|
|
NAME:=Methode eDPU
|
|
|
|
BUILD_SUBTARGET:=cortexa53
|
|
|
|
endef
|
|
|
|
|
2024-06-08 08:25:29 +00:00
|
|
|
define U-Boot/rb5009
|
|
|
|
NAME:=MikroTik RB5009
|
|
|
|
BUILD_SUBTARGET:=cortexa72
|
|
|
|
BUILD_DEVICES:=mikrotik_rb5009
|
|
|
|
UBOOT_CONFIG:=mvebu_rb5009
|
|
|
|
UBOOT_IMAGE:=u-boot.elf
|
|
|
|
endef
|
|
|
|
|
2017-01-23 11:09:10 +00:00
|
|
|
UBOOT_TARGETS:= \
|
2019-09-09 16:50:26 +00:00
|
|
|
clearfog \
|
2020-06-03 06:19:51 +00:00
|
|
|
helios4 \
|
2022-01-28 12:37:08 +00:00
|
|
|
omnia \
|
2019-11-02 12:14:08 +00:00
|
|
|
espressobin \
|
2022-09-21 16:39:22 +00:00
|
|
|
uDPU \
|
2024-06-08 08:25:29 +00:00
|
|
|
eDPU \
|
|
|
|
rb5009
|
2016-03-25 12:07:03 +00:00
|
|
|
|
2024-10-12 09:08:50 +00:00
|
|
|
UBOOT_CUSTOMIZE_CONFIG := \
|
|
|
|
--disable TOOLS_MKEFICAPSULE
|
|
|
|
|
2020-09-23 00:59:47 +00:00
|
|
|
define Package/u-boot/install
|
|
|
|
$(if $(findstring cortexa53,$(BUILD_SUBTARGET)),,$(Package/u-boot/install/default))
|
|
|
|
endef
|
|
|
|
|
2017-01-23 11:09:10 +00:00
|
|
|
define Build/InstallDev
|
2017-01-27 12:14:12 +00:00
|
|
|
$(INSTALL_DIR) $(STAGING_DIR_IMAGE)
|
2019-09-09 16:50:26 +00:00
|
|
|
$(CP) $(PKG_BUILD_DIR)/$(UBOOT_IMAGE) $(STAGING_DIR_IMAGE)/$(BUILD_VARIANT)-$(UBOOT_IMAGE)
|
2016-03-25 12:07:03 +00:00
|
|
|
endef
|
|
|
|
|
2017-01-23 11:09:10 +00:00
|
|
|
$(eval $(call BuildPackage/U-Boot))
|