diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2017-12-22 11:10:00 +0100 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2017-12-22 17:05:41 +0100 |
commit | 51cb154f4219a918590994bcbe0e14f9545120cc (patch) | |
tree | cd398c45c45ec1a6cb9ae8b8d6db3ecbbd707cb4 | |
parent | 9e53073800fff87811d5c8f815fc7b59a4e4f9f0 (diff) |
mtd-utils: build natively for a 32-bit machineColibri-iMX7_LXDE-Image_2.8b1.64-20171229Colibri-iMX6_LXDE-Image_2.8b1.64-20171229Colibri-iMX6ULL_LXDE-Image_2.8b1.64-20171229Colibri-VF_LXDE-Image_2.8b1.64-20171229Colibri-T30_LXDE-Image_2.8b1.64-20171229Colibri-T20_LXDE-Image_2.8b1.64-20171229Apalis-iMX6_LXDE-Image_2.8b1.64-20171229Apalis-TK1_LXDE-Image_2.8b1.64-20171229Apalis-TK1-Mainline_LXDE-Image_2.8b1.64-20171229Apalis-T30_LXDE-Image_2.8b1.64-20171229
We want to deploy mkfs.ubifs as part of the x86 downloader as most
distros do not have a recent enough version.
To be more universal we need it unconditionally in a 32-bit version.
Moved from meta-toradex-bsp-common layer.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
-rw-r--r-- | recipes-devtools/mtd/mtd-utils_%.bbappend | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes-devtools/mtd/mtd-utils_%.bbappend b/recipes-devtools/mtd/mtd-utils_%.bbappend new file mode 100644 index 0000000..5c74edb --- /dev/null +++ b/recipes-devtools/mtd/mtd-utils_%.bbappend @@ -0,0 +1,3 @@ +#EXTRA_OEMAKE = "'CC=${CC}' 'RANLIB=${RANLIB}' 'AR=${AR}' 'CFLAGS=${CFLAGS} -I${S}/include -DWITHOUT_XATTR' 'BUILDDIR=${S}'" +#we want mkfs.ubifs binary to run on a 32-bit architecture, on x86_64 this requires the 32-bit compatibility libs +EXTRA_OEMAKE_class-native = "'CC=${CC}' 'RANLIB=${RANLIB}' 'AR=${AR}' 'CFLAGS=${CFLAGS} -I${S}/include -DWITHOUT_XATTR -m32' 'BUILDDIR=${S}'" |