@ -7,6 +7,8 @@
i n c l u d e $( TOPDIR ) / r u l e s . m k
i n c l u d e $( INCLUDE_DIR ) / i m a g e . m k
IMAGE_PROFILE := $( if $( PROFILE) ,$( PROFILE) ,Default)
JFFS2_BLOCKSIZE = 64k 128k 256k
d e f i n e i m g n a m e
@ -1010,7 +1012,7 @@ define Image/Build/squashfs
e n d e f
d e f i n e I m a g e / B u i l d / I n i t r a m f s
$( call Image/Build/Profile/$( PROFILE) ,initramfs)
$( call Image/Build/Profile/$( IMAGE_ PROFILE) ,initramfs)
e n d e f
d e f i n e I m a g e / P r e p a r e
@ -1022,13 +1024,13 @@ ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),)
$( call Image/BuildLoader,generic,elf,,,-initramfs)
e n d i f
$( call Image/BuildLoader,generic,elf)
$( call Image/Build/Profile/$( if $( CONFIG_IB) ,Default,$( PROFILE) ) ,loader)
$( call Image/Build/Profile/$( if $( CONFIG_IB) ,Default,$( IMAGE_ PROFILE) ) ,loader)
e n d e f
d e f i n e I m a g e / B u i l d
$( call Image/Build/$( 1) )
dd if = $( KDIR) /root.$( 1) of = $( BIN_DIR) /$( IMG_PREFIX) -root.$( 1) bs = 128k conv = sync
$( call Image/Build/Profile/$( PROFILE) ,$( 1) )
$( call Image/Build/Profile/$( IMAGE_ PROFILE) ,$( 1) )
e n d e f
$( eval $ ( call BuildImage ) )