From d4c41ac00c7d144f8aed1644a1b80eca8470d01d Mon Sep 17 00:00:00 2001 From: Brandon Maier Date: Mon, 12 Dec 2022 12:49:25 -0600 Subject: [PATCH] package/mtd: add lsmtd option lsmtd is a new utility added in v2.1.0[1]. [1] http://git.infradead.org/mtd-utils.git/commit/c26ce774a7209012c0505ee841d54898c6665e20 Signed-off-by: Brandon Maier Signed-off-by: Peter Korsgaard --- package/mtd/Config.in | 3 +++ package/mtd/mtd.mk | 1 + 2 files changed, 4 insertions(+) diff --git a/package/mtd/Config.in b/package/mtd/Config.in index c45dd1e2b7..3ba48da645 100644 --- a/package/mtd/Config.in +++ b/package/mtd/Config.in @@ -71,6 +71,9 @@ config BR2_PACKAGE_MTD_JFFS2DUMP bool "jffs2dump" select BR2_PACKAGE_MTD_JFFS_UTILS +config BR2_PACKAGE_MTD_LSMTD + bool "lsmtd" + config BR2_PACKAGE_MTD_MKFSJFFS2 bool "mkfs.jffs2" select BR2_PACKAGE_MTD_JFFS_UTILS diff --git a/package/mtd/mtd.mk b/package/mtd/mtd.mk index 6e266a8760..db2b104586 100644 --- a/package/mtd/mtd.mk +++ b/package/mtd/mtd.mk @@ -94,6 +94,7 @@ MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASH_UNLOCK) += flash_unlock MTD_TARGETS_$(BR2_PACKAGE_MTD_FTL_CHECK) += ftl_check MTD_TARGETS_$(BR2_PACKAGE_MTD_FTL_FORMAT) += ftl_format MTD_TARGETS_$(BR2_PACKAGE_MTD_JFFS2DUMP) += jffs2dump +MTD_TARGETS_$(BR2_PACKAGE_MTD_LSMTD) += lsmtd MTD_TARGETS_$(BR2_PACKAGE_MTD_MKFSJFFS2) += mkfs.jffs2 MTD_TARGETS_$(BR2_PACKAGE_MTD_MTD_DEBUG) += mtd_debug MTD_TARGETS_$(BR2_PACKAGE_MTD_MTDPART) += mtdpart