mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 14:13:16 +00:00
f2a8763587
I recently added support for the NorthStar ARM BCM53xx SoCs to the upstream U-Boot. This is a back port on top of the 2023.04 version already imported to OpenWrt with the 5 necessary upstream patches. This is needed to create a small U-Boot for the BCM53xx-based D-Link DIR-890L and I think also the DIR-885L, so that a recent (bigger) kernel can be loaded and executed from the SEAMA partitions on these devices. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
38 lines
788 B
Makefile
38 lines
788 B
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_VERSION:=2023.04
|
|
PKG_HASH:=e31cac91545ff41b71cec5d8c22afd695645cd6e2a442ccdacacd60534069341
|
|
PKG_RELEASE:=$(AUTORELEASE)
|
|
|
|
include $(INCLUDE_DIR)/u-boot.mk
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define U-Boot/Default
|
|
BUILD_TARGET:=bcm53xx
|
|
BUILD_SUBTARGET:=generic
|
|
UBOOT_CONFIG:=bcmns
|
|
UBOOT_BOARD:=$(1)
|
|
endef
|
|
|
|
define U-Boot/dir-885l
|
|
NAME:=D-Link DIR-885L
|
|
BUILD_DEVICES:=dlink_dir-885l
|
|
endef
|
|
|
|
define U-Boot/dir-890l
|
|
NAME:=D-Link DIR-890L
|
|
BUILD_DEVICES:=dlink_dir-890l
|
|
endef
|
|
|
|
UBOOT_TARGETS := dir-885l dir-890l
|
|
|
|
define Build/InstallDev
|
|
$(INSTALL_DIR) $(STAGING_DIR_IMAGE)
|
|
$(CP) $(PKG_BUILD_DIR)/$(UBOOT_IMAGE) $(STAGING_DIR_IMAGE)/$(BUILD_DEVICES)-u-boot.bin
|
|
endef
|
|
|
|
define Package/u-boot/install/default
|
|
endef
|
|
|
|
$(eval $(call BuildPackage/U-Boot))
|