@ -18,41 +18,6 @@ define BuildFirmware/DCS930/squashfs
e n d e f
B u i l d F i r m w a r e / D C S 9 3 0 / initramfs = $( call BuildFirmware/OF/initramfs,$( 1) ,$( 2) ,$( 3) )
# sign Buffalo images
d e f i n e B u i l d F i r m w a r e / B u f f a l o
if [ -e " $( call sysupname,$( 1) ,$( 2) ) " ] ; then \
buffalo-enc -p $( 3) -v 1.76 \
-i $( KDIR) /vmlinux-$( 2) .uImage \
-o $( KDIR) /vmlinux-$( 2) .uImage.enc; \
buffalo-enc -p $( 3) -v 1.76 \
-i $( KDIR) /root.$( 1) \
-o $( KDIR) /root.$( 2) .enc; \
buffalo-tag -b $( 3) -p $( 3) -a ram -v 1.76 -m 1.01 \
-l mlang8 -f 1 -r EU \
-i $( KDIR) /vmlinux-$( 2) .uImage.enc \
-i $( KDIR) /root.$( 2) .enc \
-o $( call imgname,$( 1) ,$( 2) ) -factory-EU.bin; \
fi
e n d e f
# FIXME: this looks broken
buffalo_whrg300n_mtd_size = 3801088
d e f i n e B u i l d F i r m w a r e / W H R G 3 0 0 N / s q u a s h f s
$( call BuildFirmware/Default4M/$( 1) ,$( 1) ,whr-g300n,WHR-G300N)
# the following line has a bad argument 3 ... the old Makefile was already broken
$( call BuildFirmware/Buffalo,$( 1) ,whr-g300n,whr-g300n)
if [ -e " $( call sysupname,$( 1) ,$( 2) ) " ] ; then \
( \
echo -n -e "# Airstation FirmWare\nrun u_fw\nreset\n\n" | \
dd bs = 512 count = 1 conv = sync; \
dd if = $( call sysupname,$( 1) ,whr-g300n) ; \
) > $( KDIR) /whr-g300n-tftp.tmp && \
buffalo-tftp -i $( KDIR) /whr-g300n-tftp.tmp \
-o $( call imgname,$( 1) ,whr-g300n) -tftp.bin; \
fi
e n d e f
B u i l d F i r m w a r e / W H R G 3 0 0 N / initramfs = $( call BuildFirmware/OF/initramfs,$( 1) ,whr-g300n,WHR-G300N)
kernel_size_wl341v3 = 917504
rootfs_size_wl341v3 = 2949120
d e f i n e B u i l d F i r m w a r e / W L - 3 4 1 V 3 / s q u a s h f s
@ -84,7 +49,6 @@ endef
I m a g e / B u i l d / P r o f i l e / DCS930 = $( call BuildFirmware/DCS930/$( 1) ,$( 1) ,dcs-930,DCS-930)
I m a g e / B u i l d / P r o f i l e / DCS930LB1 = $( call BuildFirmware/DCS930/$( 1) ,$( 1) ,dcs-930l-b1,DCS-930L-B1)
I m a g e / B u i l d / P r o f i l e / WL-341V3 = $( call BuildFirmware/WL-341V3/$( 1) ,$( 1) )
I m a g e / B u i l d / P r o f i l e / WHRG300N = $( call BuildFirmware/WHRG300N/$( 1) ,$( 1) )
d e f i n e L e g a c y D e v i c e / A L L 0 2 3 9 3 G
DEVICE_TITLE := Allnet ALL0239-3G
@ -110,9 +74,3 @@ define LegacyDevice/WL-341V3
DEVICE_TITLE := Sitecom WL-341 v3
e n d e f
LEGACY_DEVICES += WL-341V3
d e f i n e L e g a c y D e v i c e / W H R G 3 0 0 N
DEVICE_TITLE := Buffalo WHR-G300N
e n d e f
LEGACY_DEVICES += WHRG300N