721d3c6e80
The Freescale extract helper was introduced before Freescale was part of NXP. Nowadays, we also have NXP packages, and they do use the same archiving format. Rename the helper under the now more generic NXP name, so that it is more logical to also use it for NXP packages. We do not retain the old Freescale-based name, because we should no longer add Freescale-named packages; they would most probably be introduced under the NXP name. Signed-off-by: Francois Perrad <francois.perrad@gadz.org> [yann.morin.1998@free.fr: - provide the rationale in the commit log - keep referring to Freescale in comment ] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
31 lines
912 B
Makefile
31 lines
912 B
Makefile
################################################################################
|
|
#
|
|
# imx-seco
|
|
#
|
|
################################################################################
|
|
|
|
IMX_SECO_VERSION = 3.7.5
|
|
IMX_SECO_SITE = $(FREESCALE_IMX_SITE)
|
|
IMX_SECO_SOURCE = imx-seco-$(IMX_SECO_VERSION).bin
|
|
|
|
IMX_SECO_LICENSE = NXP Semiconductor Software License Agreement
|
|
IMX_SECO_LICENSE_FILES = EULA COPYING
|
|
IMX_SECO_REDISTRIBUTE = NO
|
|
|
|
define IMX_SECO_EXTRACT_CMDS
|
|
$(call NXP_EXTRACT_HELPER,$(IMX_SECO_DL_DIR)/$(IMX_SECO_SOURCE))
|
|
endef
|
|
|
|
IMX_SECO_INSTALL_IMAGES = YES
|
|
|
|
# SECO firmware is needed when generating imx8-boot-sd.bin which
|
|
# is done in post-image script.
|
|
IMX_SECO_AHAB_CONTAINER_IMAGE = $(call qstrip,$(BR2_PACKAGE_IMX_SECO_AHAB_CONTAINER_IMAGE))
|
|
|
|
define IMX_SECO_INSTALL_IMAGES_CMDS
|
|
cp $(@D)/firmware/seco/$(IMX_SECO_AHAB_CONTAINER_IMAGE) \
|
|
$(BINARIES_DIR)/ahab-container.img
|
|
endef
|
|
|
|
$(eval $(generic-package))
|