[Buildroot] [git commit branch/2020.02.x] package/pkg-meson.mk: fix cross-compilation.conf
From: Peter Korsgaard <peter@korsgaard.com>
Date: 2020-03-21 19:38:04
Subsystem:
the rest · Maintainer:
Linus Torvalds
From: Peter Korsgaard <peter@korsgaard.com>
Date: 2020-03-21 19:38:04
Subsystem:
the rest · Maintainer:
Linus Torvalds
commit: https://git.buildroot.net/buildroot/commit/?id=2989bcf09d4e3822993b9c382a3b89dd4eba3493 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2020.02.x $$(STAGING_DIR) -> $(STAGING_DIR) in PKG_MESON_INSTALL_CROSS_CONF. $$ resulted in `$(STAGING_DIR)` in the file instead of the expanded value. Note that this change only affects the etc config at: host/etc/meson/cross-compilation.conf Per-package cross-compilation.conf files are already correct. Reviewed-by: Peter Seiderer <redacted> Signed-off-by: Gleb Mazovetskiy <redacted> Signed-off-by: Yann E. MORIN <redacted> (cherry picked from commit 3fb784afb124ec689330177da5ee0e3e744f6237) Signed-off-by: Peter Korsgaard <peter@korsgaard.com> --- package/pkg-meson.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/pkg-meson.mk b/package/pkg-meson.mk
index 642b715938..416129f6fe 100644
--- a/package/pkg-meson.mk
+++ b/package/pkg-meson.mk@@ -193,7 +193,7 @@ define PKG_MESON_INSTALL_CROSS_CONF -e 's%@TARGET_LDFLAGS@%$(call make-comma-list,$(TARGET_LDFLAGS))@PKG_TARGET_CFLAGS@%g' \ -e 's%@TARGET_CXXFLAGS@%$(call make-comma-list,$(TARGET_CXXFLAGS))@PKG_TARGET_CFLAGS@%g' \ -e 's%@HOST_DIR@%$(HOST_DIR)%g' \ - -e 's%@STAGING_DIR@%$$(STAGING_DIR)%g' \ + -e 's%@STAGING_DIR@%$(STAGING_DIR)%g' \ $(HOST_MESON_PKGDIR)/cross-compilation.conf.in \ > $(HOST_DIR)/etc/meson/cross-compilation.conf.in sed -e 's%@PKG_TARGET_CFLAGS@%%g' \