Blame view

buildroot/buildroot-2016.08.1/package/freescale-imx/imx-vpu/imx-vpu.mk 1 KB
6b13f685e   김민수   BSP 최초 추가
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
  ################################################################################
  #
  # imx-vpu
  #
  ################################################################################
  
  IMX_VPU_VERSION = 5.4.33
  IMX_VPU_SITE = $(FREESCALE_IMX_SITE)
  IMX_VPU_SOURCE = imx-vpu-$(IMX_VPU_VERSION).bin
  
  IMX_VPU_INSTALL_STAGING = YES
  
  IMX_VPU_MAKE_ENV = \
  	$(TARGET_MAKE_ENV) \
  	$(TARGET_CONFIGURE_OPTS) \
  	CROSS_COMPILE="$(TARGET_CROSS)" \
  	PLATFORM=$(BR2_PACKAGE_FREESCALE_IMX_PLATFORM)
  
  IMX_VPU_LICENSE = NXP Semiconductor Software License Agreement
  IMX_VPU_LICENSE_FILES = EULA COPYING
  IMX_VPU_REDISTRIBUTE = NO
  
  define IMX_VPU_EXTRACT_CMDS
  	$(call FREESCALE_IMX_EXTRACT_HELPER,$(DL_DIR)/$(IMX_VPU_SOURCE))
  endef
  
  define IMX_VPU_BUILD_CMDS
  	$(IMX_VPU_MAKE_ENV) $(MAKE1) -C $(@D)
  endef
  
  define IMX_VPU_INSTALL_STAGING_CMDS
  	$(IMX_VPU_MAKE_ENV) $(MAKE1) -C $(@D) DEST_DIR=$(STAGING_DIR) install
  endef
  
  define IMX_VPU_INSTALL_TARGET_CMDS
  	$(IMX_VPU_MAKE_ENV) $(MAKE1) -C $(@D) DEST_DIR=$(TARGET_DIR) install
  endef
  
  $(eval $(generic-package))