OSDN Git Service

Compress squashfs to system.sfs to avoid confused.
authorChih-Wei Huang <cwhuang@linux.org.tw>
Thu, 23 Jul 2009 04:00:27 +0000 (12:00 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Fri, 26 Nov 2010 07:07:28 +0000 (15:07 +0800)
core/Makefile

index 525ee7f..d928590 100644 (file)
@@ -711,6 +711,11 @@ $(INSTALLED_SYSTEMIMAGE): $(BUILT_SYSTEMIMAGE) $(RECOVERY_FROM_BOOT_PATCH) | $(A
        $(copy-file-to-target)
        $(hide) $(call assert-max-image-size,$@ $(RECOVERY_FROM_BOOT_PATCH),$(BOARD_SYSTEMIMAGE_PARTITION_SIZE),yaffs)
 
+ifneq ($(MKSQUASHFS),)
+$(PRODUCT_OUT)/system.sfs: $(BUILT_SYSTEMIMAGE)
+       $(call build-squashfs-target,$^,$@)
+endif
+
 systemimage: $(INSTALLED_SYSTEMIMAGE)
 
 .PHONY: systemimage-nodeps snod