From aabea2803d249e61f9de55b78078e37e8d7f51b4 Mon Sep 17 00:00:00 2001 From: Tim Riker Date: Wed, 27 Oct 2004 18:12:49 +0000 Subject: use fs type as file extension --- target/cramfs/cramfs.mk | 2 +- target/ext2/ext2root.mk | 2 +- target/jffs2/jffs2root.mk | 2 +- target/squashfs/squashfsroot.mk | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/target/cramfs/cramfs.mk b/target/cramfs/cramfs.mk index 43019c680..a00af6c17 100644 --- a/target/cramfs/cramfs.mk +++ b/target/cramfs/cramfs.mk @@ -39,7 +39,7 @@ cramfsroot: cramfs -@find $(TARGET_DIR) -type f -perm +111 | xargs $(STRIP) 2>/dev/null || true; @rm -rf $(TARGET_DIR)/usr/man @rm -rf $(TARGET_DIR)/usr/info - $(CRAMFS_DIR)/mkcramfs -q -D target/default/device_table.txt $(TARGET_DIR) $(IMAGE) + $(CRAMFS_DIR)/mkcramfs -q -D target/default/device_table.txt $(TARGET_DIR) $(IMAGE).cramfs cramfsroot-source: cramfs-source diff --git a/target/ext2/ext2root.mk b/target/ext2/ext2root.mk index 67939ab7b..a6f1f3d14 100644 --- a/target/ext2/ext2root.mk +++ b/target/ext2/ext2root.mk @@ -42,7 +42,7 @@ ext2root: genext2fs #-@find $(TARGET_DIR)/lib -type f -name \*.so\* | xargs $(STRIP) --strip-unneeded 2>/dev/null || true; -@find $(TARGET_DIR) -type f -perm +111 | xargs $(STRIP) 2>/dev/null || true; $(GENEXT2_DIR)/genext2fs -i $(GENEXT2_INODES) -b $(GENEXT2_SIZE) \ - -d $(TARGET_DIR) -q -D target/default/device_table.txt $(IMAGE) + -d $(TARGET_DIR) -q -D target/default/device_table.txt $(IMAGE).ext2 ext2root-source: $(DL_DIR)/$(GENEXT2_SOURCE) diff --git a/target/jffs2/jffs2root.mk b/target/jffs2/jffs2root.mk index 521c8dccb..ee23d9b41 100644 --- a/target/jffs2/jffs2root.mk +++ b/target/jffs2/jffs2root.mk @@ -35,7 +35,7 @@ jffs2root: mtd @rm -rf $(TARGET_DIR)/usr/info $(MKFS_JFFS2) --pad --little-endian --squash -e 0x20000 \ -D target/default/device_table.txt -d $(TARGET_DIR) \ - -o $(IMAGE) + -o $(IMAGE).jffs2 jffs2root-source: $(DL_DIR)/$(MTD_SOURCE) diff --git a/target/squashfs/squashfsroot.mk b/target/squashfs/squashfsroot.mk index b02fb48c1..e120172ba 100644 --- a/target/squashfs/squashfsroot.mk +++ b/target/squashfs/squashfsroot.mk @@ -39,7 +39,7 @@ squashfsroot: squashfs @rm -rf $(TARGET_DIR)/usr/man @rm -rf $(TARGET_DIR)/usr/info #$(SQUASHFS_DIR)/squashfs-tools/mksquashfs -q -D target/default/device_table.txt $(TARGET_DIR) $(IMAGE) - $(SQUASHFS_DIR)/squashfs-tools/mksquashfs $(TARGET_DIR) $(IMAGE) -noappend -root-owned + $(SQUASHFS_DIR)/squashfs-tools/mksquashfs $(TARGET_DIR) $(IMAGE).squashfs -noappend -root-owned squashfsroot-source: squashfs-source -- cgit v1.2.3