qt5multimedia: install examples

Signed-off-by: Wolfgang Grandegger <wg@grandegger.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Wolfgang Grandegger 2017-01-20 17:46:22 +01:00 committed by Peter Korsgaard
parent 126162b915
commit 9efbfd9f53

View File

@ -59,9 +59,16 @@ define QT5MULTIMEDIA_INSTALL_TARGET_QMLS
endef
endif
ifeq ($(BR2_PACKAGE_QT5BASE_EXAMPLES),y)
define QT5MULTIMEDIA_INSTALL_TARGET_EXAMPLES
cp -dpfr $(STAGING_DIR)/usr/lib/qt/examples/multimedia* $(TARGET_DIR)/usr/lib/qt/examples/
endef
endif
define QT5MULTIMEDIA_INSTALL_TARGET_CMDS
$(QT5MULTIMEDIA_INSTALL_TARGET_LIBS)
$(QT5MULTIMEDIA_INSTALL_TARGET_QMLS)
$(QT5MULTIMEDIA_INSTALL_TARGET_EXAMPLES)
endef
$(eval $(generic-package))