aboutsummaryrefslogtreecommitdiff
path: root/package/mtd/mtd.mk
diff options
context:
space:
mode:
authorGravatar Paul B. Henson <henson@acm.org>2013-07-28 19:11:50 -0700
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-07-29 20:47:48 +0200
commitb50e0fa113bf641a3764ae99b94bb7ba4e1e8f85 (patch)
treeba3caf88d929716af0303c44929800e35932dcea /package/mtd/mtd.mk
parent56a5e5a1486c46f44418acce5aa53e8a4822bc87 (diff)
downloadbuildroot-b50e0fa113bf641a3764ae99b94bb7ba4e1e8f85.tar.gz
buildroot-b50e0fa113bf641a3764ae99b94bb7ba4e1e8f85.tar.bz2
mtd: add option to build mkfs.ubifs for target
[Thomas: implement simplifications suggested by Thomas De Schampheleire, add missing 'depends' on required toolchain features.] Signed-off-by: Paul B. Henson <henson@acm.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/mtd/mtd.mk')
-rw-r--r--package/mtd/mtd.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/mtd/mtd.mk b/package/mtd/mtd.mk
index 994a73a222..6b2af0dc9f 100644
--- a/package/mtd/mtd.mk
+++ b/package/mtd/mtd.mk
@@ -14,6 +14,10 @@ ifeq ($(BR2_PACKAGE_MTD_MKFSJFFS2),y)
MTD_DEPENDENCIES = zlib lzo
endif
+ifeq ($(BR2_PACKAGE_MTD_MKFSUBIFS),y)
+MTD_DEPENDENCIES += util-linux zlib lzo
+endif
+
ifeq ($(BR2_PACKAGE_BUSYBOX),y)
MTD_DEPENDENCIES += busybox
endif
@@ -72,6 +76,7 @@ MTD_TARGETS_UBI_$(BR2_PACKAGE_MTD_UBIRSVOL) += ubirsvol
MTD_TARGETS_UBI_$(BR2_PACKAGE_MTD_UBIUPDATEVOL) += ubiupdatevol
MTD_TARGETS_y += $(addprefix ubi-utils/,$(MTD_TARGETS_UBI_y))
+MTD_TARGETS_$(BR2_PACKAGE_MTD_MKFSUBIFS) += mkfs.ubifs/mkfs.ubifs
# only call make if atleast a single tool is enabled
ifneq ($(MTD_TARGETS_y),)