summaryrefslogtreecommitdiffstats
path: root/package/qt5/qt5base/qt5base.mk
diff options
context:
space:
mode:
authorPeter Korsgaard <peter@korsgaard.com>2015-11-24 22:21:49 +0100
committerPeter Korsgaard <peter@korsgaard.com>2015-11-26 22:16:25 +0100
commite76d59c258f868f7958409d3c99e431596153645 (patch)
treed4bf1159bea1e1156a5488b0ea473ce75a3b46a3 /package/qt5/qt5base/qt5base.mk
parenta36d751abd789fd54ef313c860db207bc28d3628 (diff)
downloadbuildroot-e76d59c258f868f7958409d3c99e431596153645.tar.gz
buildroot-e76d59c258f868f7958409d3c99e431596153645.zip
qt5base: support OVERRIDE_SRCDIR
With OVERRIDE_SRCDIR we don't apply any of the qt5base patches, but the custom specs files are needed to be able to build - So install these in the configure step instead of having them as a patch. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Diffstat (limited to 'package/qt5/qt5base/qt5base.mk')
-rw-r--r--package/qt5/qt5base/qt5base.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/qt5/qt5base/qt5base.mk b/package/qt5/qt5base/qt5base.mk
index 827a85e982..6eeb61973a 100644
--- a/package/qt5/qt5base/qt5base.mk
+++ b/package/qt5/qt5base/qt5base.mk
@@ -179,6 +179,10 @@ endef
endif
define QT5BASE_CONFIGURE_CMDS
+ $(INSTALL) -m 0644 -D $(QT5BASE_PKGDIR)/qmake.conf \
+ $(@D)/mkspecs/devices/linux-buildroot-g++/qmake.conf
+ $(INSTALL) -m 0644 -D $(QT5BASE_PKGDIR)/qplatformdefs.h \
+ $(@D)/mkspecs/devices/linux-buildroot-g++/qplatformdefs.h
$(QT5BASE_CONFIGURE_CONFIG_FILE)
(cd $(@D); \
$(TARGET_MAKE_ENV) \
OpenPOWER on IntegriCloud