瀏覽代碼

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>
Thomas Petazzoni 15 年之前
父節點
當前提交
16b1d2a734
共有 2 個文件被更改,包括 1 次插入10 次删除
  1. 0 1
      target/jffs2/Config.in
  2. 1 9
      target/jffs2/jffs2root.mk

+ 0 - 1
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
 

+ 1 - 9
target/jffs2/jffs2root.mk

@@ -44,7 +44,7 @@ endif
 # 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 @@ ifneq ($(JFFS2_COPYTO),)
 	@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