config BR2_TARGET_ROOTFS_JFFS2
bool "jffs2 root filesystem"
- select BR2_HOST_FAKEROOT
help
Build a jffs2 root filesystem
# 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
@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