Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] qt5connectivity: install examples
@ 2016-12-07 15:11 Matt Kraai
  2016-12-07 22:34 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Matt Kraai @ 2016-12-07 15:11 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Matt Kraai <kraai@ftbfs.org>
---
 package/qt5/qt5connectivity/qt5connectivity.mk | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/package/qt5/qt5connectivity/qt5connectivity.mk b/package/qt5/qt5connectivity/qt5connectivity.mk
index 0f7257d..bcbdd2e 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))
-- 
2.10.2

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH] qt5connectivity: install examples
  2016-12-07 15:11 [Buildroot] [PATCH] qt5connectivity: install examples Matt Kraai
@ 2016-12-07 22:34 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2016-12-07 22:34 UTC (permalink / raw)
  To: buildroot

Hello,

On Wed,  7 Dec 2016 07:11:30 -0800, Matt Kraai wrote:
> Signed-off-by: Matt Kraai <kraai@ftbfs.org>
> ---
>  package/qt5/qt5connectivity/qt5connectivity.mk | 12 ++++++++++++
>  1 file changed, 12 insertions(+)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-12-07 22:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-07 15:11 [Buildroot] [PATCH] qt5connectivity: install examples Matt Kraai
2016-12-07 22:34 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox