@ -49,14 +49,15 @@ define PatchKernelLzma
e n d e f
e n d e f
d e f i n e M k I m a g e
d e f i n e M k I m a g e
$( eval imagename = $( if $( 4) ,$( 4) ,MIPS OpenWrt Linux-$( LINUX_VERSION) ) )
mkimage -A mips -O linux -T kernel -C $( 1) $( call kernel_entry) \
mkimage -A mips -O linux -T kernel -C $( 1) $( call kernel_entry) \
-n 'MIPS OpenWrt Linux-$(LINUX_VERSION)' \
-n " $( imagename) " \
-d $( 2) $( 3)
-d $( 2) $( 3)
e n d e f
e n d e f
d e f i n e M k I m a g e L z m a
d e f i n e M k I m a g e L z m a
$( call PatchKernelLzma,$( 1) ,$( 2) )
$( call PatchKernelLzma,$( 1) ,$( 2) )
$( call MkImage,lzma,$( KDIR) /vmlinux-$( 1) .bin.lzma,$( KDIR) /vmlinux-$( 1) .uImage)
$( call MkImage,lzma,$( KDIR) /vmlinux-$( 1) .bin.lzma,$( KDIR) /vmlinux-$( 1) .uImage,$( 3) )
e n d e f
e n d e f
d e f i n e C a t F i l e s
d e f i n e C a t F i l e s
@ -95,7 +96,7 @@ define Image/BuildKernel
e n d e f
e n d e f
d e f i n e B u i l d F i r m w a r e / G e n e r i c
d e f i n e B u i l d F i r m w a r e / G e n e r i c
$( call MkImageLzma,$( 2) ,$( 3) )
$( call MkImageLzma,$( 2) ,$( 3) ,$( 6) )
$( call Sysupgrade/KRuImage,$( 1) ,$( 2) ,$( 4) ,$( 5) )
$( call Sysupgrade/KRuImage,$( 1) ,$( 2) ,$( 4) ,$( 5) )
e n d e f
e n d e f
@ -200,7 +201,7 @@ mtdlayout_dir620a1=192k(u-boot)ro,64k(u-boot-env)ro,64k(factory)ro,896k(kernel),
kernel_size_dir620a1 = 917504
kernel_size_dir620a1 = 917504
rootfs_size_dir620a1 = 7143424
rootfs_size_dir620a1 = 7143424
d e f i n e B u i l d F i r m w a r e / D I R 6 2 0 A 1
d e f i n e B u i l d F i r m w a r e / D I R 6 2 0 A 1
$( call BuildFirmware/Generic,$( 1) ,$( 2) ,$( call mkcmdline,$( 3) ,ttyS1,57600) $( call mkmtd/phys,$( mtdlayout_dir620a1) ) ,$( kernel_size_dir620a1) ,$( rootfs_size_dir620a1) )
$( call BuildFirmware/Generic,$( 1) ,$( 2) ,$( call mkcmdline,$( 3) ,ttyS1,57600) $( call mkmtd/phys,$( mtdlayout_dir620a1) ) ,$( kernel_size_dir620a1) ,$( rootfs_size_dir620a1) ,DIR_620 )
e n d e f
e n d e f
d e f i n e B u i l d F i r m w a r e / D I R 6 2 0 A 1 / i n i t r a m f s
d e f i n e B u i l d F i r m w a r e / D I R 6 2 0 A 1 / i n i t r a m f s