q5base: use TARGET_MAKE_ENV
So our tools (E.G. pkg-config) in $(HOST_DIR) are found. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
cc0773f2a8
commit
81a6fb2879
@ -173,6 +173,7 @@ endif
|
||||
define QT5BASE_CONFIGURE_CMDS
|
||||
$(QT5BASE_CONFIGURE_CONFIG_FILE)
|
||||
(cd $(@D); \
|
||||
$(TARGET_MAKE_ENV) \
|
||||
PKG_CONFIG="$(PKG_CONFIG_HOST_BINARY)" \
|
||||
PKG_CONFIG_LIBDIR="$(STAGING_DIR)/usr/lib/pkgconfig" \
|
||||
PKG_CONFIG_SYSROOT_DIR="$(STAGING_DIR)" \
|
||||
@ -196,11 +197,11 @@ define QT5BASE_CONFIGURE_CMDS
|
||||
endef
|
||||
|
||||
define QT5BASE_BUILD_CMDS
|
||||
$(MAKE) -C $(@D)
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
|
||||
endef
|
||||
|
||||
define QT5BASE_INSTALL_STAGING_CMDS
|
||||
$(MAKE) -C $(@D) install
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install
|
||||
$(QT5_LA_PRL_FILES_FIXUP)
|
||||
endef
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user