Changeset 27356


Ignore:
Timestamp:
2011-07-02T10:37:58+02:00 (7 years ago)
Author:
juhosg
Message:

generic: use padjffs2 in prepare_generic_squashfs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/image.mk

    r26422 r27356  
    5959# pad to 4k, 8k, 64k, 128k and add jffs2 end-of-filesystem mark 
    6060define prepare_generic_squashfs 
    61         dd if=$(1) of=$(KDIR)/tmpfile.0 bs=4k conv=sync 
    62         $(call add_jffs2_mark,$(KDIR)/tmpfile.0) 
    63         dd if=$(KDIR)/tmpfile.0 of=$(KDIR)/tmpfile.1 bs=4k conv=sync 
    64         $(call add_jffs2_mark,$(KDIR)/tmpfile.1) 
    65         dd if=$(KDIR)/tmpfile.1 of=$(KDIR)/tmpfile.2 bs=64k conv=sync 
    66         $(call add_jffs2_mark,$(KDIR)/tmpfile.2) 
    67         dd if=$(KDIR)/tmpfile.2 of=$(1) bs=64k conv=sync 
    68         $(call add_jffs2_mark,$(1)) 
    69         rm -f $(KDIR)/tmpfile.* 
     61        $(STAGING_DIR_HOST)/bin/padjffs2 $(1) 4 8 64 128         
    7062endef 
    7163 
Note: See TracChangeset for help on using the changeset viewer.