X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/87bf70a976191a8ca91b29bafe9c3e760338571d..db7f4ab4d2a1c5d385bacf2c695b796d81f7c912:/openwrt/target/jffs2/jffs2root.mk diff --git a/openwrt/target/jffs2/jffs2root.mk b/openwrt/target/jffs2/jffs2root.mk index a6e085552..8dcd00f57 100644 --- a/openwrt/target/jffs2/jffs2root.mk +++ b/openwrt/target/jffs2/jffs2root.mk @@ -4,8 +4,8 @@ # ############################################################# -MTD_DIR:=$(BUILD_DIR)/mtd-20011217 -MTD_SOURCE=mtd_20011217.orig.tar.gz +MTD_DIR:=$(BUILD_DIR)/mtd-20050122.orig +MTD_SOURCE=mtd_20050122.orig.tar.gz MTD_SITE=http://ftp.debian.org/debian/pool/main/m/mtd MKFS_JFFS2=$(shell which mkfs.jffs2 2>/dev/null || echo $(MTD_DIR)/util/mkfs.jffs2) @@ -17,7 +17,6 @@ $(MTD_DIR)/.unpacked: $(DL_DIR)/$(MTD_SOURCE) touch $(MTD_DIR)/.unpacked $(MTD_DIR)/util/mkfs.jffs2: $(MTD_DIR)/.unpacked -# CFLAGS=-I$(LINUX_HEADERS_DIR)/include $(MAKE) LINUXDIR=$(LINUX_DIR) -C $(MTD_DIR)/util $(MAKE) LINUXDIR=$(LINUX_DIR) -C $(MTD_DIR)/util mtd: $(MKFS_JFFS2) @@ -45,15 +44,7 @@ jffs2root-clean: jffs2root-dirclean: rm -rf $(MTD_DIR) -openwrt-linux.trx.jffs2: - $(BUILD_DIR)/trx -o openwrt-linux.trx.jffs2 $(LINUX_DIR)/$(LINUX_BINLOC) $(IMAGE).jffs2 - -openwrt-gs-code.bin.jffs2: openwrt-linux.trx.jffs2 - $(BUILD_DIR)/addpattern -2 -i openwrt-linux.trx.jffs2 -o openwrt-gs-code.bin.jffs2 -g - -openwrt-g-code.bin.jffs2: openwrt-gs-code.bin.jffs2 - sed -e "1s,^W54S,W54G," < openwrt-gs-code.bin.jffs2 > openwrt-g-code.bin.jffs2 - -openwrt-image: openwrt-g-code.bin.jffs2 - - +ifeq ($(strip $(BR2_TARGET_ROOTFS_JFFS2)),y) +TARGETS+=jffs2root openwrt-image +ROOTFS=jffs2 +endif