[Buildroot] [git commit] package/pkg-meson: fix meson cpu_family format
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Mon Feb 25 21:12:28 UTC 2019
commit: https://git.buildroot.net/buildroot/commit/?id=3e4b82b996101fca02624d29c7c6cfd5bdf7fbc0
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
meson requires a custom cpu_family format
https://mesonbuild.com/Reference-tables.html#cpu-families
Signed-off-by: James Hilliard <james.hilliard1 at gmail.com>
Reviewed-by: Peter Seiderer <ps.report at gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.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 a637299476..886fcf7205 100644
--- a/package/pkg-meson.mk
+++ b/package/pkg-meson.mk
@@ -64,7 +64,7 @@ define $(2)_CONFIGURE_CMDS
rm -rf $$($$(PKG)_SRCDIR)/build
mkdir -p $$($$(PKG)_SRCDIR)/build
sed -e "s%@TARGET_CROSS@%$$(TARGET_CROSS)%g" \
- -e "s%@TARGET_ARCH@%$$(ARCH)%g" \
+ -e "s%@TARGET_ARCH@%$$(HOST_MESON_TARGET_CPU_FAMILY)%g" \
-e "s%@TARGET_CPU@%$$(GCC_TARGET_CPU)%g" \
-e "s%@TARGET_ENDIAN@%$$(call LOWERCASE,$$(BR2_ENDIAN))%g" \
-e "s%@TARGET_CFLAGS@%$$(HOST_MESON_SED_CFLAGS)%g" \
More information about the buildroot
mailing list