diff options
Diffstat (limited to 'meta/recipes-devtools/mtd/mtd-utils_git.bb')
| -rw-r--r-- | meta/recipes-devtools/mtd/mtd-utils_git.bb | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/meta/recipes-devtools/mtd/mtd-utils_git.bb b/meta/recipes-devtools/mtd/mtd-utils_git.bb index d7aa738558..057ae806a1 100644 --- a/meta/recipes-devtools/mtd/mtd-utils_git.bb +++ b/meta/recipes-devtools/mtd/mtd-utils_git.bb | |||
| @@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \ | |||
| 9 | inherit autotools pkgconfig update-alternatives | 9 | inherit autotools pkgconfig update-alternatives |
| 10 | 10 | ||
| 11 | DEPENDS = "zlib e2fsprogs util-linux" | 11 | DEPENDS = "zlib e2fsprogs util-linux" |
| 12 | RDEPENDS_mtd-utils-tests += "bash" | 12 | RDEPENDS:mtd-utils-tests += "bash" |
| 13 | 13 | ||
| 14 | PV = "2.1.3" | 14 | PV = "2.1.3" |
| 15 | 15 | ||
| @@ -31,15 +31,15 @@ PACKAGECONFIG[jffs] = "--with-jffs,--without-jffs" | |||
| 31 | PACKAGECONFIG[ubifs] = "--with-ubifs,--without-ubifs" | 31 | PACKAGECONFIG[ubifs] = "--with-ubifs,--without-ubifs" |
| 32 | PACKAGECONFIG[zstd] = "--with-zstd,--without-zstd,zstd" | 32 | PACKAGECONFIG[zstd] = "--with-zstd,--without-zstd,zstd" |
| 33 | 33 | ||
| 34 | CPPFLAGS_append_riscv64 = " -pthread -D_REENTRANT" | 34 | CPPFLAGS:append:riscv64 = " -pthread -D_REENTRANT" |
| 35 | 35 | ||
| 36 | EXTRA_OEMAKE = "'CC=${CC}' 'RANLIB=${RANLIB}' 'AR=${AR}' 'CFLAGS=${CFLAGS} ${@bb.utils.contains('PACKAGECONFIG', 'xattr', '', '-DWITHOUT_XATTR', d)} -I${S}/include' 'BUILDDIR=${S}'" | 36 | EXTRA_OEMAKE = "'CC=${CC}' 'RANLIB=${RANLIB}' 'AR=${AR}' 'CFLAGS=${CFLAGS} ${@bb.utils.contains('PACKAGECONFIG', 'xattr', '', '-DWITHOUT_XATTR', d)} -I${S}/include' 'BUILDDIR=${S}'" |
| 37 | 37 | ||
| 38 | # Use higher priority than corresponding BusyBox-provided applets | 38 | # Use higher priority than corresponding BusyBox-provided applets |
| 39 | ALTERNATIVE_PRIORITY = "100" | 39 | ALTERNATIVE_PRIORITY = "100" |
| 40 | 40 | ||
| 41 | ALTERNATIVE_${PN} = "flashcp flash_eraseall flash_lock flash_unlock nanddump nandwrite" | 41 | ALTERNATIVE:${PN} = "flashcp flash_eraseall flash_lock flash_unlock nanddump nandwrite" |
| 42 | ALTERNATIVE_${PN}-ubifs = "ubiattach ubidetach ubimkvol ubirename ubirmvol ubirsvol ubiupdatevol" | 42 | ALTERNATIVE:${PN}-ubifs = "ubiattach ubidetach ubimkvol ubirename ubirmvol ubirsvol ubiupdatevol" |
| 43 | 43 | ||
| 44 | ALTERNATIVE_LINK_NAME[nandwrite] = "${sbindir}/nandwrite" | 44 | ALTERNATIVE_LINK_NAME[nandwrite] = "${sbindir}/nandwrite" |
| 45 | ALTERNATIVE_LINK_NAME[nanddump] = "${sbindir}/nanddump" | 45 | ALTERNATIVE_LINK_NAME[nanddump] = "${sbindir}/nanddump" |
| @@ -63,10 +63,10 @@ PACKAGES =+ "mtd-utils-misc mtd-utils-tests" | |||
| 63 | PACKAGES =+ "${@bb.utils.contains("PACKAGECONFIG", "jffs", "mtd-utils-jffs2", "", d)}" | 63 | PACKAGES =+ "${@bb.utils.contains("PACKAGECONFIG", "jffs", "mtd-utils-jffs2", "", d)}" |
| 64 | PACKAGES =+ "${@bb.utils.contains("PACKAGECONFIG", "ubifs", "mtd-utils-ubifs", "", d)}" | 64 | PACKAGES =+ "${@bb.utils.contains("PACKAGECONFIG", "ubifs", "mtd-utils-ubifs", "", d)}" |
| 65 | 65 | ||
| 66 | FILES_mtd-utils-jffs2 = "${sbindir}/mkfs.jffs2 ${sbindir}/jffs2dump ${sbindir}/jffs2reader ${sbindir}/sumtool" | 66 | FILES:mtd-utils-jffs2 = "${sbindir}/mkfs.jffs2 ${sbindir}/jffs2dump ${sbindir}/jffs2reader ${sbindir}/sumtool" |
| 67 | FILES_mtd-utils-ubifs = "${sbindir}/mkfs.ubifs ${sbindir}/ubi*" | 67 | FILES:mtd-utils-ubifs = "${sbindir}/mkfs.ubifs ${sbindir}/ubi*" |
| 68 | FILES_mtd-utils-misc = "${sbindir}/nftl* ${sbindir}/ftl* ${sbindir}/rfd* ${sbindir}/doc* ${sbindir}/serve_image ${sbindir}/recv_image" | 68 | FILES:mtd-utils-misc = "${sbindir}/nftl* ${sbindir}/ftl* ${sbindir}/rfd* ${sbindir}/doc* ${sbindir}/serve_image ${sbindir}/recv_image" |
| 69 | FILES_mtd-utils-tests = "${libexecdir}/mtd-utils/*" | 69 | FILES:mtd-utils-tests = "${libexecdir}/mtd-utils/*" |
| 70 | 70 | ||
| 71 | BBCLASSEXTEND = "native nativesdk" | 71 | BBCLASSEXTEND = "native nativesdk" |
| 72 | 72 | ||
