kumquat-buildroot/package/multimedia/on2-8170-libs/on2-8170-libs.mk
Alexandre Belloni b31ec9d641 Add proprietary libraries for Hantro x170 HW decoding
[Peter: select on2-8170-modules, ensure dest dirs exist]
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-06-15 23:15:05 +02:00

27 lines
758 B
Makefile

################################################################################
#
# on2-8170-libs
#
################################################################################
ON2_8170_LIBS_VERSION = 1.0
ON2_8170_LIBS_SITE = ftp://ftp.linux4sam.org/pub/demo/linux4sam_1.9/codec/
ON2_8170_LICENSE = PROPRIETARY
# No license file is included in the archive
ON2_8170_LIBS_INSTALL_STAGING = YES
define ON2_8170_LIBS_INSTALL_STAGING_CMDS
mkdir -p $(STAGING_DIR)/usr/lib $(STAGING_DIR)/usr/include
cp -dpf $(@D)/*.a $(@D)/*.so $(STAGING_DIR)/usr/lib
cp -dpf $(@D)/*.h $(STAGING_DIR)/usr/include
endef
define ON2_8170_LIBS_INSTALL_TARGET_CMDS
mkdir -p $(TARGET_DIR)/usr/lib
cp -dpf $(@D)/*.so $(TARGET_DIR)/usr/lib
endef
$(eval $(generic-package))