2021-12-17 10:40:54 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_VERSION:=2.2
|
2023-05-17 13:08:40 +00:00
|
|
|
PKG_RELEASE:=2
|
2021-12-17 10:40:54 +00:00
|
|
|
|
|
|
|
PKG_SOURCE_PROTO:=git
|
|
|
|
PKG_SOURCE_URL=$(PROJECT_GIT)/project/bcm63xx/atf.git
|
|
|
|
PKG_SOURCE_DATE:=2021-12-24
|
|
|
|
PKG_SOURCE_VERSION:=e6d46baf3fae79f693f90bf34f7284c3dfc64aef
|
2024-04-07 10:29:11 +00:00
|
|
|
PKG_MIRROR_HASH:=5646abc01152210a8181455151f01145001d61b3fb09619b1cee48008e36b0fa
|
2021-12-17 10:40:54 +00:00
|
|
|
|
|
|
|
PKG_MAINTAINER:=Rafał Miłecki <rafal@milecki.pl>
|
|
|
|
|
2022-08-11 21:29:52 +00:00
|
|
|
include $(INCLUDE_DIR)/kernel.mk
|
2021-12-17 10:40:54 +00:00
|
|
|
include $(INCLUDE_DIR)/trusted-firmware-a.mk
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Trusted-Firmware-A/Default
|
|
|
|
PLAT:=bcm
|
|
|
|
DEFAULT:=y
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Trusted-Firmware-A/bcm4908
|
|
|
|
BUILD_TARGET:=bcm4908
|
|
|
|
NAME:=BCM4908
|
|
|
|
BRCM_CHIP=4908
|
|
|
|
TFA_IMAGE:=bl31.bin
|
|
|
|
endef
|
|
|
|
|
|
|
|
TFA_TARGETS:= \
|
|
|
|
bcm4908
|
|
|
|
|
|
|
|
TFA_MAKE_FLAGS += \
|
|
|
|
BRCM_CHIP=$(BRCM_CHIP)
|
|
|
|
|
|
|
|
define Package/trusted-firmware-a/install
|
|
|
|
$(INSTALL_DIR) $(STAGING_DIR_IMAGE)
|
|
|
|
$(INSTALL_DATA) $(PKG_BUILD_DIR)/build/$(PLAT)/release/$(TFA_IMAGE) $(STAGING_DIR_IMAGE)/
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage/Trusted-Firmware-A))
|