openwrt-redmi-ax3000/package/boot/uboot-bmips/Makefile
Christian Marangi b9c755c838
uboot-bmips: drop usage of AUTORELEASE
AUTORELEASE has been deprecated from a long time. Drop it and hardcode
the release following the current one present in the downloads
repository.

Link: https://github.com/openwrt/openwrt/pull/20586
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2025-10-29 21:09:56 +01:00

33 lines
683 B
Makefile

include $(TOPDIR)/rules.mk
PKG_VERSION:=2024.04
PKG_HASH:=18a853fe39fad7ad03a90cc2d4275aeaed6da69735defac3492b80508843dd4a
PKG_RELEASE:=1
include $(INCLUDE_DIR)/u-boot.mk
include $(INCLUDE_DIR)/package.mk
define U-Boot/Default
BUILD_TARGET:=bmips
BUILD_SUBTARGET:=bcm6328
UBOOT_CONFIG:=inteno_xg6846_ram
UBOOT_BOARD:=$(1)
endef
define U-Boot/xg6846
NAME:=Inteno XG6846
BUILD_DEVICES:=inteno_xg6846
endef
UBOOT_TARGETS := xg6846
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))