diff options
-rw-r--r-- | meta/recipes-devtools/mtd/mtd-utils_git.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-devtools/mtd/mtd-utils_git.bb b/meta/recipes-devtools/mtd/mtd-utils_git.bb index 3c34bdd84e..d09d633022 100644 --- a/meta/recipes-devtools/mtd/mtd-utils_git.bb +++ b/meta/recipes-devtools/mtd/mtd-utils_git.bb | |||
@@ -24,6 +24,8 @@ S = "${WORKDIR}/git/" | |||
24 | PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'xattr', d)}" | 24 | PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'xattr', d)}" |
25 | PACKAGECONFIG[xattr] = ",,acl," | 25 | PACKAGECONFIG[xattr] = ",,acl," |
26 | 26 | ||
27 | CPPFLAGS_append_riscv64 = " -pthread -D_REENTRANT" | ||
28 | |||
27 | EXTRA_OEMAKE = "'CC=${CC}' 'RANLIB=${RANLIB}' 'AR=${AR}' 'CFLAGS=${CFLAGS} ${@bb.utils.contains('PACKAGECONFIG', 'xattr', '', '-DWITHOUT_XATTR', d)} -I${S}/include' 'BUILDDIR=${S}'" | 29 | EXTRA_OEMAKE = "'CC=${CC}' 'RANLIB=${RANLIB}' 'AR=${AR}' 'CFLAGS=${CFLAGS} ${@bb.utils.contains('PACKAGECONFIG', 'xattr', '', '-DWITHOUT_XATTR', d)} -I${S}/include' 'BUILDDIR=${S}'" |
28 | 30 | ||
29 | ALTERNATIVE_${PN} = "flash_eraseall" | 31 | ALTERNATIVE_${PN} = "flash_eraseall" |