@ -38,13 +38,16 @@ define Build/netgear-uImage
e n d e f
# combine kernel and rootfs into one image
# mktplinkfw <type> <optional extra arguments to mktplinkfw binary>
# <type> is "sysupgrade" or "factory"
#
# -a align the rootfs start on an <align> bytes boundary
# -j add jffs2 end-of-filesystem markers
# -s strip padding from end of the image
# -X reserve <size> bytes in the firmware image (hexval prefixed with 0x)
d e f i n e B u i l d / m k t p l i n k f w
-$( STAGING_DIR_HOST) /bin/mktplinkfw \
-H $( TPLINK_HWID) -W $( TPLINK_HWREV) -F $( TPLINK_FLASHLAYOUT) -N OpenWrt -V $( REVISION) \
-H $( TPLINK_HWID) -W $( TPLINK_HWREV) -F $( TPLINK_FLASHLAYOUT) -N OpenWrt -V $( REVISION) $2 \
-k $( word 1,$^) \
-r $@ \
-o $@ .new \
@ -64,10 +67,12 @@ define Build/mktplinkfw-chn-v2
$( if $( findstring sysupgrade,$1 ) ,-s) && mv $@ .new $@ || rm -f $@
e n d e f
# mktplinkfw-initramfs <optional extra arguments to mktplinkfw binary>
#
# -c combined image
d e f i n e B u i l d / m k t p l i n k f w - i n i t r a m f s
$( STAGING_DIR_HOST) /bin/mktplinkfw \
-H $( TPLINK_HWID) -W $( TPLINK_HWREV) -F $( TPLINK_FLASHLAYOUT) -N OpenWrt -V $( REVISION) \
-H $( TPLINK_HWID) -W $( TPLINK_HWREV) -F $( TPLINK_FLASHLAYOUT) -N OpenWrt -V $( REVISION) $2 \
-k $@ \
-o $@ .new \
-s -S \