* [Buildroot] [PATCH] qt5xmlpatterns: install examples
@ 2016-12-08 14:38 Matt Kraai
2016-12-08 21:28 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Matt Kraai @ 2016-12-08 14:38 UTC (permalink / raw)
To: buildroot
Signed-off-by: Matt Kraai <kraai@ftbfs.org>
---
package/qt5/qt5xmlpatterns/qt5xmlpatterns.mk | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/package/qt5/qt5xmlpatterns/qt5xmlpatterns.mk b/package/qt5/qt5xmlpatterns/qt5xmlpatterns.mk
index 31477a7c0..0b518b052 100644
--- a/package/qt5/qt5xmlpatterns/qt5xmlpatterns.mk
+++ b/package/qt5/qt5xmlpatterns/qt5xmlpatterns.mk
@@ -32,9 +32,20 @@ define QT5XMLPATTERNS_INSTALL_STAGING_CMDS
endef
ifeq ($(BR2_STATIC_LIBS),)
-define QT5XMLPATTERNS_INSTALL_TARGET_CMDS
+define QT5XMLPATTERNS_INSTALL_TARGET_LIBS
cp -dpf $(STAGING_DIR)/usr/lib/libQt5XmlPatterns*.so.* $(TARGET_DIR)/usr/lib
endef
endif
+ifeq ($(BR2_PACKAGE_QT5BASE_EXAMPLES),y)
+define QT5XMLPATTERNS_INSTALL_TARGET_EXAMPLES
+ cp -dpfr $(STAGING_DIR)/usr/lib/qt/examples/xmlpatterns $(TARGET_DIR)/usr/lib/qt/examples/
+endef
+endif
+
+define QT5XMLPATTERNS_INSTALL_TARGET_CMDS
+ $(QT5XMLPATTERNS_INSTALL_TARGET_LIBS)
+ $(QT5XMLPATTERNS_INSTALL_TARGET_EXAMPLES)
+endef
+
$(eval $(generic-package))
--
2.11.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] qt5xmlpatterns: install examples
2016-12-08 14:38 [Buildroot] [PATCH] qt5xmlpatterns: install examples Matt Kraai
@ 2016-12-08 21:28 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2016-12-08 21:28 UTC (permalink / raw)
To: buildroot
Hello,
On Thu, 8 Dec 2016 06:38:50 -0800, Matt Kraai wrote:
> Signed-off-by: Matt Kraai <kraai@ftbfs.org>
> ---
> package/qt5/qt5xmlpatterns/qt5xmlpatterns.mk | 13 ++++++++++++-
> 1 file changed, 12 insertions(+), 1 deletion(-)
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-08 21:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-08 14:38 [Buildroot] [PATCH] qt5xmlpatterns: install examples Matt Kraai
2016-12-08 21:28 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox