Drop unused config item MTD_UTILS_JITTERTEST which is unused since more than 15 years.
Reactivate MTD_UTILS_JFFS2READER to install jffs2reader. This tool was claimed to be removed upstream in commit ba0a8f624d02 (" * mtd-utils: removed tools which are not in upstream any more"), which I failed to find in the upstream git history. mtdpart is a tool that was introduced in mtd-utils 1.5.2, add an installation option for it. Signed-off-by: Uwe Kleine-König <u.kleine-koe...@pengutronix.de> --- rules/mtd-utils.in | 25 ++++++++++--------------- rules/mtd-utils.make | 11 +++++++++++ 2 files changed, 21 insertions(+), 15 deletions(-) diff --git a/rules/mtd-utils.in b/rules/mtd-utils.in index 8988ba116bdc..1a56d12dccef 100644 --- a/rules/mtd-utils.in +++ b/rules/mtd-utils.in @@ -134,23 +134,12 @@ config MTD_UTILS_JFFS2_DUMP help This utility dumps the contents of a binary JFFS2 image. -#config MTD_UTILS_JFFS2READER -# bool -# prompt "jffs2reader" -# select MTD_UTILS_JFFS -# help -# A jffs2 image reader - -config MTD_UTILS_JITTERTEST +config MTD_UTILS_JFFS2READER bool - prompt "jittertest" + prompt "jffs2reader" + select MTD_UTILS_JFFS help - This program is used to measure what the jitter of a - real time task would be under "standard" Linux. - - More particularly, what is the effect of running - a real time task under Linux with background - JFFS file system activity. + A jffs2 image reader config MTD_UTILS_MTDDEBUG bool @@ -158,6 +147,12 @@ config MTD_UTILS_MTDDEBUG help Does info, read, write and erase on mtd devices +config MTD_UTILS_MTDPART + bool + prompt "mtdpart" + help + Add or remove a partition from an MTD device + config MTD_UTILS_NANDDUMP bool prompt "nanddump" diff --git a/rules/mtd-utils.make b/rules/mtd-utils.make index 52dddae8e567..df7db047624f 100644 --- a/rules/mtd-utils.make +++ b/rules/mtd-utils.make @@ -118,10 +118,21 @@ ifdef PTXCONF_MTD_UTILS_JFFS2_DUMP @$(call install_copy, mtd-utils, 0, 0, 0755, -, \ /usr/sbin/jffs2dump) endif +ifdef PTXCONF_MTD_UTILS_JFFS2READER + @$(call install_copy, mtd-utils, 0, 0, 0755, -, \ + /usr/sbin/jffs2reader) +endif + ifdef PTXCONF_MTD_UTILS_MTDDEBUG @$(call install_copy, mtd-utils, 0, 0, 0755, -, \ /usr/sbin/mtd_debug) endif + +ifdef PTXCONF_MTD_UTILS_MTDPART + @$(call install_copy, mtd-utils, 0, 0, 0755, -, \ + /usr/sbin/mtdpart) +endif + ifdef PTXCONF_MTD_UTILS_NANDDUMP @$(call install_copy, mtd-utils, 0, 0, 0755, -, \ /usr/sbin/nanddump) -- 2.30.0 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-requ...@pengutronix.de