mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 13:46:32 +00:00
use fs type as file extension
This commit is contained in:
parent
aafe69e2c5
commit
aabea2803d
@ -39,7 +39,7 @@ cramfsroot: cramfs
|
|||||||
-@find $(TARGET_DIR) -type f -perm +111 | xargs $(STRIP) 2>/dev/null || true;
|
-@find $(TARGET_DIR) -type f -perm +111 | xargs $(STRIP) 2>/dev/null || true;
|
||||||
@rm -rf $(TARGET_DIR)/usr/man
|
@rm -rf $(TARGET_DIR)/usr/man
|
||||||
@rm -rf $(TARGET_DIR)/usr/info
|
@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
|
cramfsroot-source: cramfs-source
|
||||||
|
|
||||||
|
@ -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)/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;
|
-@find $(TARGET_DIR) -type f -perm +111 | xargs $(STRIP) 2>/dev/null || true;
|
||||||
$(GENEXT2_DIR)/genext2fs -i $(GENEXT2_INODES) -b $(GENEXT2_SIZE) \
|
$(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)
|
ext2root-source: $(DL_DIR)/$(GENEXT2_SOURCE)
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ jffs2root: mtd
|
|||||||
@rm -rf $(TARGET_DIR)/usr/info
|
@rm -rf $(TARGET_DIR)/usr/info
|
||||||
$(MKFS_JFFS2) --pad --little-endian --squash -e 0x20000 \
|
$(MKFS_JFFS2) --pad --little-endian --squash -e 0x20000 \
|
||||||
-D target/default/device_table.txt -d $(TARGET_DIR) \
|
-D target/default/device_table.txt -d $(TARGET_DIR) \
|
||||||
-o $(IMAGE)
|
-o $(IMAGE).jffs2
|
||||||
|
|
||||||
jffs2root-source: $(DL_DIR)/$(MTD_SOURCE)
|
jffs2root-source: $(DL_DIR)/$(MTD_SOURCE)
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@ squashfsroot: squashfs
|
|||||||
@rm -rf $(TARGET_DIR)/usr/man
|
@rm -rf $(TARGET_DIR)/usr/man
|
||||||
@rm -rf $(TARGET_DIR)/usr/info
|
@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 -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
|
squashfsroot-source: squashfs-source
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user