Add TL-WR820N CH definition in top level Makefile
authorPiotr Dymacz <pepe2k@gmail.com>
Mon, 16 Nov 2015 01:52:17 +0000 (02:52 +0100)
committerPiotr Dymacz <pepe2k@gmail.com>
Mon, 16 Nov 2015 01:52:17 +0000 (02:52 +0100)
Makefile

index bdf87d860e58e83c0b943e6f1af7c4788c33e2b1..09896eb9e44f90954786fbe4ad0b57182e321005 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -162,6 +162,17 @@ tplink_wa830re_v2_wa801nd_v2:
        @cd $(BUILD_TOPDIR)/u-boot/ && $(MAKECMD) ENDIANNESS=-EB V=1 all
        @make --no-print-directory show_size
 
+tplink_wr820n_CH:      export UBOOT_FILE_NAME=uboot_for_tp-link_tl-wr820n_CH
+tplink_wr820n_CH:      export CONFIG_MAX_UBOOT_SIZE_KB=123
+ifndef CONFIG_SKIP_LOWLEVEL_INIT
+tplink_wr820n_CH:      export COMPRESSED_UBOOT=1
+endif
+tplink_wr820n_CH:      export ETH_CONFIG=_s27
+tplink_wr820n_CH:
+       @cd $(BUILD_TOPDIR)/u-boot/ && $(MAKECMD) tplink_wr820n_CH_config
+       @cd $(BUILD_TOPDIR)/u-boot/ && $(MAKECMD) ENDIANNESS=-EB V=1 all
+       @make --no-print-directory show_size
+
 dlink_dir505:  export UBOOT_FILE_NAME=uboot_for_d-link_dir-505
 dlink_dir505:  export CONFIG_MAX_UBOOT_SIZE_KB=64
 ifndef CONFIG_SKIP_LOWLEVEL_INIT