ramips: create factory image for DIR-300-B1
authorGabor Juhos <juhosg@openwrt.org>
Mon, 4 Jul 2011 06:48:45 +0000 (06:48 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Mon, 4 Jul 2011 06:48:45 +0000 (06:48 +0000)
SVN-Revision: 27439

target/linux/ramips/image/Makefile

index 446bf7b35410106c9bc5c5ab04312da4c6a54cd3..b1e856d8932d758abe33fdd93f4003d01d9dbcc6 100644 (file)
@@ -82,6 +82,9 @@ mtd_dir300b1_kernel_part_size=851968
 mtd_dir300b1_rootfs_part_size=3014656
 define Image/Build/Template/DIR300B1
        $(call BuildFirmware/Generic,$(1),$(2),board=$(3),mtdlayout_dir300b1,$(mtd_dir300b1_kernel_part_size),$(mtd_dir300b1_rootfs_part_size))
+       mkwrgimg -s wrgn23_dlwbr_dir300b -d /dev/mtdblock/2 \
+               -i $(call imgname,$(1),$(2))-sysupgrade.bin \
+               -o $(call imgname,$(1),$(2))-factory.bin
 endef
 
 define Image/Build/Profile/DIR300B1