From: Herve Codina Date: Tue, 17 Aug 2021 08:39:20 +0000 (+0200) Subject: package/pkg-qmake.mk: Move QT5_QT_CONF_FIXUP to post-prepare hook X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=040f75aa06829595ef8f3d9dea9382ba152ee34e;p=buildroot.git package/pkg-qmake.mk: Move QT5_QT_CONF_FIXUP to post-prepare hook 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 Signed-off-by: Yann E. MORIN --- 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