summaryrefslogtreecommitdiff
path: root/recipes-devtools
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2013-10-10 13:09:41 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2013-10-10 13:09:41 +0200
commit85531ccceb25b7e96717f39b616c9e7a26fe73d4 (patch)
tree8dd78d98b2c50da6c88f1b1b2cd2ff4c70df326a /recipes-devtools
parent6443e382daa1bdf1f58a940f78615825980be2a7 (diff)
mtd-utils: Build native for a 32bit 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 unconditionaly in a 32bit version.
Diffstat (limited to 'recipes-devtools')
-rw-r--r--recipes-devtools/mtd/mtd-utils_1.5.0.bbappend3
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes-devtools/mtd/mtd-utils_1.5.0.bbappend b/recipes-devtools/mtd/mtd-utils_1.5.0.bbappend
new file mode 100644
index 0000000..91e4c8f
--- /dev/null
+++ b/recipes-devtools/mtd/mtd-utils_1.5.0.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}'"