summaryrefslogtreecommitdiff
path: root/openwrt/target/linux/image/jffs2.mk
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/target/linux/image/jffs2.mk')
-rw-r--r--openwrt/target/linux/image/jffs2.mk30
1 files changed, 0 insertions, 30 deletions
diff --git a/openwrt/target/linux/image/jffs2.mk b/openwrt/target/linux/image/jffs2.mk
deleted file mode 100644
index a0e14da..0000000
--- a/openwrt/target/linux/image/jffs2.mk
+++ /dev/null
@@ -1,30 +0,0 @@
-ifneq ($(CONFIG_BIG_ENDIAN),y)
-JFFS2OPTS := --pad --little-endian --squash
-else
-JFFS2OPTS := --pad --big-endian --squash
-endif
-
-define Image/mkfs/jffs2
- rm -rf $(BUILD_DIR)/root/jffs
-
- $(STAGING_DIR)/bin/mkfs.jffs2 $(JFFS2OPTS) -e 0x10000 -o $(KDIR)/root.jffs2-64k -d $(BUILD_DIR)/root
- $(STAGING_DIR)/bin/mkfs.jffs2 $(JFFS2OPTS) -e 0x20000 -o $(KDIR)/root.jffs2-128k -d $(BUILD_DIR)/root
-
- $(call Image/Build,jffs2-64k)
- $(call Image/Build,jffs2-128k)
-endef
-
-jffs2-source: FORCE
- $(MAKE) -C $(TOPDIR)/target/linux/image/jffs2 source
-
-$(STAGING_DIR)/bin/mkfs.jffs2:
- $(MAKE) -C $(TOPDIR)/target/linux/image/jffs2 compile
-
-jffs2-clean: FORCE
- $(MAKE) -C $(TOPDIR)/target/linux/image/jffs2 clean
- rm -f $(KDIR)/root.jffs2*
-
-source: jffs2-source
-compile-targets: $(STAGING_DIR)/bin/mkfs.jffs2
-clean-targets: jffs2-clean
-