@ -19,6 +19,9 @@ define Image/Prepare
TARGET = " $( KDIR) " \
TARGET = " $( KDIR) " \
clean install
clean install
echo -ne "\\x00" >> $( KDIR) /loader.gz
echo -ne "\\x00" >> $( KDIR) /loader.gz
rm -f $( KDIR) /fs_mark
touch $( KDIR) /fs_mark
$( call prepare_generic_squashfs,$( KDIR) /fs_mark)
e n d e f
e n d e f
i f n e q ( $( KERNEL ) , 2 . 4 )
i f n e q ( $( KERNEL ) , 2 . 4 )
@ -41,22 +44,17 @@ define Image/Build/USR
e n d e f
e n d e f
d e f i n e t r x a l i g n / j f f s 2 - 1 2 8 k
d e f i n e t r x a l i g n / j f f s 2 - 1 2 8 k
- a 0 x 2 0 0 0 0
- a 0 x 2 0 0 0 0 - f $( KDIR ) / r o o t . $( 1)
e n d e f
e n d e f
d e f i n e t r x a l i g n / j f f s 2 - 6 4 k
d e f i n e t r x a l i g n / j f f s 2 - 6 4 k
- a 0 x 1 0 0 0 0
- a 0 x 1 0 0 0 0 - f $( KDIR ) / r o o t . $( 1)
e n d e f
e n d e f
d e f i n e t r x a l i g n / s q u a s h f s
d e f i n e t r x a l i g n / s q u a s h f s
- a 1 0 2 4
- a 1 0 2 4 - f $( KDIR ) / r o o t . $( 1) - a 0 x 1 0 0 0 0 - A $( KDIR ) / f s _ m a r k
e n d e f
d e f i n e I m a g e / B u i l d / s q u a s h f s
$( call prepare_generic_squashfs,$( KDIR) /root.squashfs)
e n d e f
e n d e f
d e f i n e I m a g e / B u i l d
d e f i n e I m a g e / B u i l d
$( call Image/Build/$( 1) )
$( STAGING_DIR) /bin/trx -o $( BIN_DIR) /openwrt-$( BOARD) -$( KERNEL) -$( 1) .trx -f $( KDIR) /loader.gz -f $( KDIR) /vmlinux.lzma $( call trxalign/$( 1) ,$( 1) )
$( STAGING_DIR) /bin/trx -o $( BIN_DIR) /openwrt-$( BOARD) -$( KERNEL) -$( 1) .trx -f $( KDIR) /loader.gz -f $( KDIR) /vmlinux.lzma $( call trxalign/$( 1) ) -f $( KDIR) /root.$( 1)
i f n e q ( $( 1) , j f f s 2 - 1 2 8 k )
i f n e q ( $( 1) , j f f s 2 - 1 2 8 k )
$( call Image/Build/CyberTAN,$( 1) ,wrt54g3g,W54F,2.01.1,$( patsubst jffs2-%,jffs2,$( 1) ) )
$( call Image/Build/CyberTAN,$( 1) ,wrt54g3g,W54F,2.01.1,$( patsubst jffs2-%,jffs2,$( 1) ) )
$( call Image/Build/CyberTAN,$( 1) ,wrt54g,W54G,4.60.1,$( patsubst jffs2-%,jffs2,$( 1) ) )
$( call Image/Build/CyberTAN,$( 1) ,wrt54g,W54G,4.60.1,$( patsubst jffs2-%,jffs2,$( 1) ) )