aboutsummaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorGravatar James Hilliard <james.hilliard1@gmail.com>2019-02-25 08:52:45 +0800
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2019-02-25 22:12:28 +0100
commit3e4b82b996101fca02624d29c7c6cfd5bdf7fbc0 (patch)
treea9801512088df393b46248cd328c24c17d5ab4a5 /package
parentda6bcf9e86cf73ec4e405f7f6e122e6510deb026 (diff)
downloadbuildroot-3e4b82b996101fca02624d29c7c6cfd5bdf7fbc0.tar.gz
buildroot-3e4b82b996101fca02624d29c7c6cfd5bdf7fbc0.tar.bz2
package/pkg-meson: fix meson cpu_family format
meson requires a custom cpu_family format https://mesonbuild.com/Reference-tables.html#cpu-families Signed-off-by: James Hilliard <james.hilliard1@gmail.com> Reviewed-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package')
-rw-r--r--package/pkg-meson.mk2
1 files changed, 1 insertions, 1 deletions
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" \