summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Kraai <kraai@ftbfs.org>2016-12-07 07:11:30 -0800
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-12-07 23:32:56 +0100
commit520d9975bda643d2cdea6007baf0411c2ea622a5 (patch)
treee200fd418c50e0c92c2ccd3fbe1a210e827ee7b2
parentcb4a41c62e45c1942a603ec176ba7d6d9ee18b95 (diff)
downloadbuildroot-520d9975bda643d2cdea6007baf0411c2ea622a5.tar.gz
buildroot-520d9975bda643d2cdea6007baf0411c2ea622a5.zip
qt5connectivity: install examples
Signed-off-by: Matt Kraai <kraai@ftbfs.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/qt5/qt5connectivity/qt5connectivity.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/qt5/qt5connectivity/qt5connectivity.mk b/package/qt5/qt5connectivity/qt5connectivity.mk
index 0f7257d390..bcbdd2ed8b 100644
--- a/package/qt5/qt5connectivity/qt5connectivity.mk
+++ b/package/qt5/qt5connectivity/qt5connectivity.mk
@@ -54,12 +54,22 @@ define QT5CONNECTIVITY_INSTALL_TARGET_BLUETOOTH
cp -dpf $(STAGING_DIR)/usr/lib/libQt5Bluetooth.so.* $(TARGET_DIR)/usr/lib
cp -dpf $(STAGING_DIR)/usr/bin/sdpscanner $(TARGET_DIR)/usr/bin
endef
+ifeq ($(BR2_PACKAGE_QT5BASE_EXAMPLES),y)
+define QT5CONNECTIVITY_INSTALL_TARGET_BLUETOOTH_EXAMPLES
+ cp -dpfr $(STAGING_DIR)/usr/lib/qt/examples/bluetooth $(TARGET_DIR)/usr/lib/qt/examples/
+endef
+endif
endif
ifeq ($(BR2_PACKAGE_NEARD),y)
define QT5CONNECTIVITY_INSTALL_TARGET_NFC
cp -dpf $(STAGING_DIR)/usr/lib/libQt5Nfc.so.* $(TARGET_DIR)/usr/lib
endef
+ifeq ($(BR2_PACKAGE_QT5BASE_EXAMPLES),y)
+define QT5CONNECTIVITY_INSTALL_TARGET_NFC_EXAMPLES
+ cp -dpfr $(STAGING_DIR)/usr/lib/qt/examples/nfc $(TARGET_DIR)/usr/lib/qt/examples/
+endef
+endif
endif
define QT5CONNECTIVITY_INSTALL_TARGET_CMDS
@@ -67,6 +77,8 @@ define QT5CONNECTIVITY_INSTALL_TARGET_CMDS
$(QT5CONNECTIVITY_INSTALL_TARGET_NFC)
$(QT5CONNECTIVITY_INSTALL_TARGET_BLUETOOTH_QMLS)
$(QT5CONNECTIVITY_INSTALL_TARGET_NFC_QMLS)
+ $(QT5CONNECTIVITY_INSTALL_TARGET_BLUETOOTH_EXAMPLES)
+ $(QT5CONNECTIVITY_INSTALL_TARGET_NFC_EXAMPLES)
endef
$(eval $(generic-package))
OpenPOWER on IntegriCloud