Blame view

buildroot/buildroot-2016.08.1/package/libimxvpuapi/libimxvpuapi.mk 1017 Bytes
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
  ################################################################################
  #
  # libimxvpuapi
  #
  ################################################################################
  
  LIBIMXVPUAPI_VERSION = 0.10.2
  LIBIMXVPUAPI_SITE = $(call github,Freescale,libimxvpuapi,$(LIBIMXVPUAPI_VERSION))
  LIBIMXVPUAPI_LICENSE = LGPLv2.1+
  LIBIMXVPUAPI_LICENSE_FILES = LICENSE
  LIBIMXVPUAPI_DEPENDENCIES = host-pkgconf host-python imx-vpu
  LIBIMXVPUAPI_INSTALL_STAGING = YES
  
  define LIBIMXVPUAPI_CONFIGURE_CMDS
  	cd $(@D); \
  	$(TARGET_CONFIGURE_OPTS) $(HOST_DIR)/usr/bin/python2 ./waf configure \
  		--prefix=/usr --libdir=/usr/lib
  endef
  
  define LIBIMXVPUAPI_BUILD_CMDS
  	cd $(@D); \
  	$(HOST_DIR)/usr/bin/python2 ./waf build -j $(PARALLEL_JOBS)
  endef
  
  define LIBIMXVPUAPI_INSTALL_STAGING_CMDS
  	cd $(@D); \
  	$(HOST_DIR)/usr/bin/python2 ./waf --destdir=$(STAGING_DIR) install
  endef
  
  define LIBIMXVPUAPI_INSTALL_TARGET_CMDS
  	cd $(@D); \
  	$(HOST_DIR)/usr/bin/python2 ./waf --destdir=$(TARGET_DIR) install
  endef
  
  $(eval $(generic-package))