From: Patrick Ohly Date: Tue, 11 Aug 2015 08:45:00 +0000 (+0200) Subject: mtd-utils: keep xattr support enabled X-Git-Tag: 2015-10~839 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=24fde4d983cc8f056177de6c1ad308369f6279ad;p=openembedded-core.git mtd-utils: keep xattr support enabled xattrs may be needed by some distros. Support that by compiling in the necessary code, even if it is not used by default. Then .jffs2 images including xattrs can be created with: EXTRA_IMAGECMD_jffs2_append = " --with-xattr" Signed-off-by: Patrick Ohly Signed-off-by: Ross Burton --- diff --git a/meta/recipes-devtools/mtd/mtd-utils_git.bb b/meta/recipes-devtools/mtd/mtd-utils_git.bb index 7010cac145..8d4892a0d4 100644 --- a/meta/recipes-devtools/mtd/mtd-utils_git.bb +++ b/meta/recipes-devtools/mtd/mtd-utils_git.bb @@ -19,7 +19,7 @@ SRC_URI = "git://git.infradead.org/mtd-utils.git \ S = "${WORKDIR}/git/" -EXTRA_OEMAKE = "'CC=${CC}' 'RANLIB=${RANLIB}' 'AR=${AR}' 'CFLAGS=${CFLAGS} -I${S}/include -DWITHOUT_XATTR' 'BUILDDIR=${S}'" +EXTRA_OEMAKE = "'CC=${CC}' 'RANLIB=${RANLIB}' 'AR=${AR}' 'CFLAGS=${CFLAGS} -I${S}/include' 'BUILDDIR=${S}'" do_install () { oe_runmake install DESTDIR=${D} SBINDIR=${sbindir} MANDIR=${mandir} INCLUDEDIR=${includedir}