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>
44 lines
1.3 KiB
Makefile
44 lines
1.3 KiB
Makefile
################################################################################
|
|
#
|
|
# imx-vpu-hantro
|
|
#
|
|
################################################################################
|
|
|
|
IMX_VPU_HANTRO_VERSION = 1.22.0
|
|
IMX_VPU_HANTRO_SITE = $(FREESCALE_IMX_SITE)
|
|
IMX_VPU_HANTRO_SOURCE = imx-vpu-hantro-$(IMX_VPU_HANTRO_VERSION).bin
|
|
IMX_VPU_HANTRO_DEPENDENCIES = linux
|
|
IMX_VPU_HANTRO_INSTALL_STAGING = YES
|
|
|
|
IMX_VPU_HANTRO_MAKE_ENV = \
|
|
$(TARGET_MAKE_ENV) \
|
|
$(TARGET_CONFIGURE_OPTS) \
|
|
CROSS_COMPILE="$(TARGET_CROSS)" \
|
|
SDKTARGETSYSROOT=$(STAGING_DIR) \
|
|
LINUX_KERNEL_ROOT=$(LINUX_DIR) \
|
|
PLATFORM=$(BR2_PACKAGE_FREESCALE_IMX_PLATFORM)
|
|
|
|
IMX_VPU_HANTRO_LICENSE = NXP Semiconductor Software License Agreement
|
|
IMX_VPU_HANTRO_LICENSE_FILES = EULA COPYING
|
|
IMX_VPU_HANTRO_REDISTRIBUTE = NO
|
|
|
|
define IMX_VPU_HANTRO_EXTRACT_CMDS
|
|
$(call NXP_EXTRACT_HELPER,$(IMX_VPU_HANTRO_DL_DIR)/$(IMX_VPU_HANTRO_SOURCE))
|
|
endef
|
|
|
|
define IMX_VPU_HANTRO_BUILD_CMDS
|
|
$(IMX_VPU_HANTRO_MAKE_ENV) $(MAKE1) -C $(@D)
|
|
endef
|
|
|
|
define IMX_VPU_HANTRO_INSTALL_STAGING_CMDS
|
|
$(IMX_VPU_HANTRO_MAKE_ENV) $(MAKE1) -C $(@D) \
|
|
DEST_DIR=$(STAGING_DIR) libdir=/usr/lib install
|
|
endef
|
|
|
|
define IMX_VPU_HANTRO_INSTALL_TARGET_CMDS
|
|
$(IMX_VPU_HANTRO_MAKE_ENV) $(MAKE1) -C $(@D) \
|
|
DEST_DIR=$(TARGET_DIR) libdir=/usr/lib install
|
|
endef
|
|
|
|
$(eval $(generic-package))
|