[Buildroot] [git commit branch/next] package/pkg-qmake.mk: Move QT5_QT_CONF_FIXUP to post-prepare hook
Yann E. MORIN
yann.morin.1998 at free.fr
Sat Aug 28 20:17:31 UTC 2021
commit: https://git.buildroot.net/buildroot/commit/?id=040f75aa06829595ef8f3d9dea9382ba152ee34e
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/next
QT5_QT_CONF_FIXUP tweaks files for per-package directory build.
This is typically the kind of operation expected to be in
post-prepare hook.
Signed-off-by: Herve Codina <herve.codina at bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>
---
package/pkg-qmake.mk | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/package/pkg-qmake.mk b/package/pkg-qmake.mk
index a77286fe3a..deb033c1d6 100644
--- a/package/pkg-qmake.mk
+++ b/package/pkg-qmake.mk
@@ -56,13 +56,14 @@ $(2)_DEPENDENCIES += host-perl
$(2)_PRE_CONFIGURE_HOOKS += QT_HEADERS_SYNC_HOOK
endif
+$(2)_POST_PREPARE_HOOKS += QT5_QT_CONF_FIXUP
+
#
# Configure step. Only define it if not already defined by the package
# .mk file.
#
ifndef $(2)_CONFIGURE_CMDS
define $(2)_CONFIGURE_CMDS
- $$(QT5_QT_CONF_FIXUP)
cd $$($(2)_BUILDDIR) && \
$$(TARGET_MAKE_ENV) $$($(2)_CONF_ENV) $$(QT5_QMAKE) $$($(2)_CONF_OPTS)
endef
More information about the buildroot
mailing list