From 51cb154f4219a918590994bcbe0e14f9545120cc Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Fri, 22 Dec 2017 11:10:00 +0100 Subject: mtd-utils: build natively for a 32-bit machine 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 Acked-by: Marcel Ziswiler --- recipes-devtools/mtd/mtd-utils_%.bbappend | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 recipes-devtools/mtd/mtd-utils_%.bbappend (limited to 'recipes-devtools') 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}'" -- cgit v1.2.3