target/jffs2: cleanup
Remove the code to build host MTD utils, since they can now be built
using package/mtd.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
diff --git a/target/jffs2/Config.in b/target/jffs2/Config.in
index bcb4d51..bf4ac60 100644
--- a/target/jffs2/Config.in
+++ b/target/jffs2/Config.in
@@ -1,6 +1,5 @@
config BR2_TARGET_ROOTFS_JFFS2
bool "jffs2 root filesystem"
- select BR2_HOST_FAKEROOT
help
Build a jffs2 root filesystem
diff --git a/target/jffs2/jffs2root.mk b/target/jffs2/jffs2root.mk
index 7d31417..30ac86d 100644
--- a/target/jffs2/jffs2root.mk
+++ b/target/jffs2/jffs2root.mk
@@ -44,7 +44,7 @@
# value of MKFS_JFFS2 to either the previously installed copy or the one
# just built.
#
-$(JFFS2_TARGET): host-fakeroot makedevs mtd-host
+$(JFFS2_TARGET): host-fakeroot host-mtd makedevs
# Use fakeroot to pretend all target binaries are owned by root
rm -f $(BUILD_DIR)/_fakeroot.$(notdir $(JFFS2_TARGET))
touch $(BUILD_DIR)/.fakeroot.00000
@@ -81,14 +81,6 @@
@cp -f $(JFFS2_TARGET) $(JFFS2_COPYTO)
endif
-jffs2root-source: mtd-host-source
-
-jffs2root-clean: mtd-host-clean
- -rm -f $(JFFS2_TARGET)
-
-jffs2root-dirclean: mtd-host-dirclean
- -rm -f $(JFFS2_TARGET)
-
#############################################################
#
# Toplevel Makefile options