summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/mtd
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-07-28 23:28:15 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-02 15:44:10 +0100
commitbb6ddc3691ab04162ec5fd69a2d5e7876713fd15 (patch)
tree76e376b01253c3aace1a98a5021bcaad3c92e861 /meta/recipes-devtools/mtd
parentfcc456ee4b8f619134abb4649db53c638074082c (diff)
downloadpoky-bb6ddc3691ab04162ec5fd69a2d5e7876713fd15.tar.gz
Convert to new override syntax
This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". (From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/mtd')
-rw-r--r--meta/recipes-devtools/mtd/mtd-utils_git.bb16
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 \
9inherit autotools pkgconfig update-alternatives 9inherit autotools pkgconfig update-alternatives
10 10
11DEPENDS = "zlib e2fsprogs util-linux" 11DEPENDS = "zlib e2fsprogs util-linux"
12RDEPENDS_mtd-utils-tests += "bash" 12RDEPENDS:mtd-utils-tests += "bash"
13 13
14PV = "2.1.3" 14PV = "2.1.3"
15 15
@@ -31,15 +31,15 @@ PACKAGECONFIG[jffs] = "--with-jffs,--without-jffs"
31PACKAGECONFIG[ubifs] = "--with-ubifs,--without-ubifs" 31PACKAGECONFIG[ubifs] = "--with-ubifs,--without-ubifs"
32PACKAGECONFIG[zstd] = "--with-zstd,--without-zstd,zstd" 32PACKAGECONFIG[zstd] = "--with-zstd,--without-zstd,zstd"
33 33
34CPPFLAGS_append_riscv64 = " -pthread -D_REENTRANT" 34CPPFLAGS:append:riscv64 = " -pthread -D_REENTRANT"
35 35
36EXTRA_OEMAKE = "'CC=${CC}' 'RANLIB=${RANLIB}' 'AR=${AR}' 'CFLAGS=${CFLAGS} ${@bb.utils.contains('PACKAGECONFIG', 'xattr', '', '-DWITHOUT_XATTR', d)} -I${S}/include' 'BUILDDIR=${S}'" 36EXTRA_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
39ALTERNATIVE_PRIORITY = "100" 39ALTERNATIVE_PRIORITY = "100"
40 40
41ALTERNATIVE_${PN} = "flashcp flash_eraseall flash_lock flash_unlock nanddump nandwrite" 41ALTERNATIVE:${PN} = "flashcp flash_eraseall flash_lock flash_unlock nanddump nandwrite"
42ALTERNATIVE_${PN}-ubifs = "ubiattach ubidetach ubimkvol ubirename ubirmvol ubirsvol ubiupdatevol" 42ALTERNATIVE:${PN}-ubifs = "ubiattach ubidetach ubimkvol ubirename ubirmvol ubirsvol ubiupdatevol"
43 43
44ALTERNATIVE_LINK_NAME[nandwrite] = "${sbindir}/nandwrite" 44ALTERNATIVE_LINK_NAME[nandwrite] = "${sbindir}/nandwrite"
45ALTERNATIVE_LINK_NAME[nanddump] = "${sbindir}/nanddump" 45ALTERNATIVE_LINK_NAME[nanddump] = "${sbindir}/nanddump"
@@ -63,10 +63,10 @@ PACKAGES =+ "mtd-utils-misc mtd-utils-tests"
63PACKAGES =+ "${@bb.utils.contains("PACKAGECONFIG", "jffs", "mtd-utils-jffs2", "", d)}" 63PACKAGES =+ "${@bb.utils.contains("PACKAGECONFIG", "jffs", "mtd-utils-jffs2", "", d)}"
64PACKAGES =+ "${@bb.utils.contains("PACKAGECONFIG", "ubifs", "mtd-utils-ubifs", "", d)}" 64PACKAGES =+ "${@bb.utils.contains("PACKAGECONFIG", "ubifs", "mtd-utils-ubifs", "", d)}"
65 65
66FILES_mtd-utils-jffs2 = "${sbindir}/mkfs.jffs2 ${sbindir}/jffs2dump ${sbindir}/jffs2reader ${sbindir}/sumtool" 66FILES:mtd-utils-jffs2 = "${sbindir}/mkfs.jffs2 ${sbindir}/jffs2dump ${sbindir}/jffs2reader ${sbindir}/sumtool"
67FILES_mtd-utils-ubifs = "${sbindir}/mkfs.ubifs ${sbindir}/ubi*" 67FILES:mtd-utils-ubifs = "${sbindir}/mkfs.ubifs ${sbindir}/ubi*"
68FILES_mtd-utils-misc = "${sbindir}/nftl* ${sbindir}/ftl* ${sbindir}/rfd* ${sbindir}/doc* ${sbindir}/serve_image ${sbindir}/recv_image" 68FILES:mtd-utils-misc = "${sbindir}/nftl* ${sbindir}/ftl* ${sbindir}/rfd* ${sbindir}/doc* ${sbindir}/serve_image ${sbindir}/recv_image"
69FILES_mtd-utils-tests = "${libexecdir}/mtd-utils/*" 69FILES:mtd-utils-tests = "${libexecdir}/mtd-utils/*"
70 70
71BBCLASSEXTEND = "native nativesdk" 71BBCLASSEXTEND = "native nativesdk"
72 72