summaryrefslogtreecommitdiffstats
path: root/rules/post/ptxd_make_world_common.make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2018-02-21 16:43:05 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2018-02-21 16:43:09 +0100
commit35d6b9c03b7f606c2ea85ed2f58714dc3149a2c1 (patch)
tree43c172dc3263638caf7f6f6613863158b251b322 /rules/post/ptxd_make_world_common.make
parent4757ea7329173a27ec7621807b55d1f911e6a067 (diff)
downloadptxdist-35d6b9c03b7f606c2ea85ed2f58714dc3149a2c1.tar.gz
ptxdist-35d6b9c03b7f606c2ea85ed2f58714dc3149a2c1.tar.xz
make sure $CC and $CXX are set for meson
Meson uses those as host compiler. If the variables are not set, then meson tries to autodetect what should be used and may decide to use ccache. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/post/ptxd_make_world_common.make')
-rw-r--r--rules/post/ptxd_make_world_common.make4
1 files changed, 4 insertions, 0 deletions
diff --git a/rules/post/ptxd_make_world_common.make b/rules/post/ptxd_make_world_common.make
index e85a05a31..9ab4faf9f 100644
--- a/rules/post/ptxd_make_world_common.make
+++ b/rules/post/ptxd_make_world_common.make
@@ -56,6 +56,10 @@ ptx/env = \
ptx_install_opt_python_host="$(call ptx/escape,$(HOST_PYTHON_INSTALL))" \
\
ptx_conf_opt_meson_target="$(call ptx/escape,$(CROSS_MESON_USR))" \
+ ptx_conf_env_meson_target="$(call ptx/escape,$(CROSS_MESON_ENV))" \
+ \
+ ptx_conf_opt_meson_host="$(call ptx/escape,$(HOST_MESON_OPT))" \
+ ptx_conf_env_meson_host="$(call ptx/escape,$(HOST_ENV))" \
\
ptx_xpkg_extra_args=$(PTXCONF_IMAGE_XPKG_EXTRA_ARGS)