package/libimxvpuapi: make it a waf-package
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Gary Bisson <gary.bisson@boundarydevices.com> Reviewed-by: Romain Naour <romain.naour@gmail.com> Tested-by: Gary Bisson <gary.bisson@boundarydevices.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
32470605a9
commit
c1968da4b5
@ -11,25 +11,4 @@ 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))
|
||||
$(eval $(waf-package))
|
||||
|
Loading…
Reference in New Issue
Block a user