summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien CORJON <corjon.j@ecagroup.com>2015-12-23 18:04:05 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-12-23 21:28:57 +0100
commit77a08db6a1e2b63704fcd6e6949fe25de9a5f4e1 (patch)
treeb37fa58503a1b7b549933c4572c4e90c05f6a9dc
parentaa2c3975eb7749cd715dfb513e0b47808b8696fb (diff)
downloadbuildroot-77a08db6a1e2b63704fcd6e6949fe25de9a5f4e1.tar.gz
buildroot-77a08db6a1e2b63704fcd6e6949fe25de9a5f4e1.zip
qt5/qt5webchannel: add qwebchannel.js installation in /var/www
To use webchannel in an application qwebchannel.js is needed but this file was not installed. Signed-off-by: Julien Corjon <corjon.j@ecagroup.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/qt5/qt5webchannel/qt5webchannel.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/qt5/qt5webchannel/qt5webchannel.mk b/package/qt5/qt5webchannel/qt5webchannel.mk
index cfb6da934e..bd4257fab4 100644
--- a/package/qt5/qt5webchannel/qt5webchannel.mk
+++ b/package/qt5/qt5webchannel/qt5webchannel.mk
@@ -35,6 +35,11 @@ define QT5WEBCHANNEL_INSTALL_STAGING_CMDS
$(QT5_LA_PRL_FILES_FIXUP)
endef
+define QT5WEBCHANNEL_INSTALL_TARGET_JAVASCRIPT
+ $(INSTALL) -m 0644 -D $(@D)/src/webchannel/qwebchannel.js \
+ $(TARGET_DIR)/var/www/qwebchannel.js
+endef
+
ifeq ($(BR2_PACKAGE_QT5DECLARATIVE_QUICK),y)
define QT5WEBCHANNEL_INSTALL_TARGET_QMLS
cp -dpfr $(STAGING_DIR)/usr/qml/QtWebChannel $(TARGET_DIR)/usr/qml/
@@ -56,6 +61,7 @@ endif
define QT5WEBCHANNEL_INSTALL_TARGET_CMDS
$(QT5WEBCHANNEL_INSTALL_TARGET_LIBS)
$(QT5WEBCHANNEL_INSTALL_TARGET_QMLS)
+ $(QT5WEBCHANNEL_INSTALL_TARGET_JAVASCRIPT)
endef
$(eval $(generic-package))
OpenPOWER on IntegriCloud