summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Riker <tim@rikers.org>2004-10-27 18:12:49 +0000
committerTim Riker <tim@rikers.org>2004-10-27 18:12:49 +0000
commitaabea2803d249e61f9de55b78078e37e8d7f51b4 (patch)
treeaa2a7a8ccea7d4c8f6b0ea10a1ba3a4acceae586
parentaafe69e2c575200cd12d80def4f5f7ff95d05f9e (diff)
use fs type as file extension
-rw-r--r--target/cramfs/cramfs.mk2
-rw-r--r--target/ext2/ext2root.mk2
-rw-r--r--target/jffs2/jffs2root.mk2
-rw-r--r--target/squashfs/squashfsroot.mk2
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