export BUILD_TOPDIR=$(PWD)
export STAGING_DIR=$(BUILD_TOPDIR)/tmp
-export MAKECMD=make --silent ARCH=mips CROSS_COMPILE=mips-linux-gnu-
+export MAKECMD=make --silent --no-print-directory ARCH=mips CROSS_COMPILE=mips-linux-gnu-
# boot delay (time to autostart boot command)
export CONFIG_BOOTDELAY=1
@cd $(BUILD_TOPDIR)/u-boot/ && $(MAKECMD) mr3020_config
@cd $(BUILD_TOPDIR)/u-boot/ && $(MAKECMD) ENDIANNESS=-EB V=1 all
@cp $(BUILD_TOPDIR)/u-boot/tuboot.bin $(BUILD_TOPDIR)/bin/temp.bin
- @make show_size
+ @make --no-print-directory show_size
tplink_wr703n: export UBOOT_FILE_NAME=uboot_for_tp-link_tl-wr703n
tplink_wr703n: export MAX_UBOOT_SIZE=64
@cd $(BUILD_TOPDIR)/u-boot/ && $(MAKECMD) wr703n_config
@cd $(BUILD_TOPDIR)/u-boot/ && $(MAKECMD) ENDIANNESS=-EB V=1 all
@cp $(BUILD_TOPDIR)/u-boot/tuboot.bin $(BUILD_TOPDIR)/bin/temp.bin
- @make show_size
+ @make --no-print-directory show_size
tplink_wr720n_v3_CH: export UBOOT_FILE_NAME=uboot_for_tp-link_tl-wr720n_v3_CH
tplink_wr720n_v3_CH: export MAX_UBOOT_SIZE=64
@cd $(BUILD_TOPDIR)/u-boot/ && $(MAKECMD) wr720n_v3_CH_config
@cd $(BUILD_TOPDIR)/u-boot/ && $(MAKECMD) ENDIANNESS=-EB V=1 all
@cp $(BUILD_TOPDIR)/u-boot/tuboot.bin $(BUILD_TOPDIR)/bin/temp.bin
- @make show_size
+ @make --no-print-directory show_size
tplink_wr710n: export UBOOT_FILE_NAME=uboot_for_tp-link_tl-wr710n
tplink_wr710n: export MAX_UBOOT_SIZE=64
@cd $(BUILD_TOPDIR)/u-boot/ && $(MAKECMD) wr710n_config
@cd $(BUILD_TOPDIR)/u-boot/ && $(MAKECMD) ENDIANNESS=-EB V=1 all
@cp $(BUILD_TOPDIR)/u-boot/tuboot.bin $(BUILD_TOPDIR)/bin/temp.bin
- @make show_size
+ @make --no-print-directory show_size
tplink_mr3040: export UBOOT_FILE_NAME=uboot_for_tp-link_tl-mr3040
tplink_mr3040: export MAX_UBOOT_SIZE=64
@cd $(BUILD_TOPDIR)/u-boot/ && $(MAKECMD) mr3040_config
@cd $(BUILD_TOPDIR)/u-boot/ && $(MAKECMD) ENDIANNESS=-EB V=1 all
@cp $(BUILD_TOPDIR)/u-boot/tuboot.bin $(BUILD_TOPDIR)/bin/temp.bin
- @make show_size
+ @make --no-print-directory show_size
tplink_mr10u: export UBOOT_FILE_NAME=uboot_for_tp-link_tl-mr10u
tplink_mr10u: export MAX_UBOOT_SIZE=64
@cd $(BUILD_TOPDIR)/u-boot/ && $(MAKECMD) mr10u_config
@cd $(BUILD_TOPDIR)/u-boot/ && $(MAKECMD) ENDIANNESS=-EB V=1 all
@cp $(BUILD_TOPDIR)/u-boot/tuboot.bin $(BUILD_TOPDIR)/bin/temp.bin
- @make show_size
+ @make --no-print-directory show_size
tplink_mr13u: export UBOOT_FILE_NAME=uboot_for_tp-link_tl-mr13u
tplink_mr13u: export MAX_UBOOT_SIZE=64
@cd $(BUILD_TOPDIR)/u-boot/ && $(MAKECMD) mr13u_config
@cd $(BUILD_TOPDIR)/u-boot/ && $(MAKECMD) ENDIANNESS=-EB V=1 all
@cp $(BUILD_TOPDIR)/u-boot/tuboot.bin $(BUILD_TOPDIR)/bin/temp.bin
- @make show_size
+ @make --no-print-directory show_size
tplink_wr740n_v4: export UBOOT_FILE_NAME=uboot_for_tp-link_tl-wr740n_v4
tplink_wr740n_v4: export MAX_UBOOT_SIZE=64
@cd $(BUILD_TOPDIR)/u-boot/ && $(MAKECMD) wr740n_v4_config
@cd $(BUILD_TOPDIR)/u-boot/ && $(MAKECMD) ENDIANNESS=-EB V=1 all
@cp $(BUILD_TOPDIR)/u-boot/tuboot.bin $(BUILD_TOPDIR)/bin/temp.bin
- @make show_size
+ @make --no-print-directory show_size
tplink_mr3220_v2: export UBOOT_FILE_NAME=uboot_for_tp-link_tl-mr3220_v2
tplink_mr3220_v2: export MAX_UBOOT_SIZE=64
@cd $(BUILD_TOPDIR)/u-boot/ && $(MAKECMD) mr3220_v2_config
@cd $(BUILD_TOPDIR)/u-boot/ && $(MAKECMD) ENDIANNESS=-EB V=1 all
@cp $(BUILD_TOPDIR)/u-boot/tuboot.bin $(BUILD_TOPDIR)/bin/temp.bin
- @make show_size
+ @make --no-print-directory show_size
tplink_wdr3600_43x0: export UBOOT_FILE_NAME=uboot_for_tp-link_tl-wdr3600-43x0
tplink_wdr3600_43x0: export MAX_UBOOT_SIZE=64
@cd $(BUILD_TOPDIR)/u-boot/ && $(MAKECMD) wdr3600_43x0_config
@cd $(BUILD_TOPDIR)/u-boot/ && $(MAKECMD) ENDIANNESS=-EB V=1 all
@cp $(BUILD_TOPDIR)/u-boot/tuboot.bin $(BUILD_TOPDIR)/bin/temp.bin
- @make show_size
+ @make --no-print-directory show_size
tplink_wdr3500: export UBOOT_FILE_NAME=uboot_for_tp-link_tl-wdr3500
tplink_wdr3500: export MAX_UBOOT_SIZE=64
@cd $(BUILD_TOPDIR)/u-boot/ && $(MAKECMD) wdr3500_config
@cd $(BUILD_TOPDIR)/u-boot/ && $(MAKECMD) ENDIANNESS=-EB V=1 all
@cp $(BUILD_TOPDIR)/u-boot/tuboot.bin $(BUILD_TOPDIR)/bin/temp.bin
- @make show_size
+ @make --no-print-directory show_size
tplink_mr3420_v2: export UBOOT_FILE_NAME=uboot_for_tp-link_tl-mr3420_v2
tplink_mr3420_v2: export MAX_UBOOT_SIZE=64
@cd $(BUILD_TOPDIR)/u-boot/ && $(MAKECMD) mr3420_v2_config
@cd $(BUILD_TOPDIR)/u-boot/ && $(MAKECMD) ENDIANNESS=-EB V=1 all
@cp $(BUILD_TOPDIR)/u-boot/tuboot.bin $(BUILD_TOPDIR)/bin/temp.bin
- @make show_size
+ @make --no-print-directory show_size
tplink_wr841n_v8: export UBOOT_FILE_NAME=uboot_for_tp-link_tl-wr841n_v8
tplink_wr841n_v8: export MAX_UBOOT_SIZE=64
@cd $(BUILD_TOPDIR)/u-boot/ && $(MAKECMD) wr841n_v8_config
@cd $(BUILD_TOPDIR)/u-boot/ && $(MAKECMD) ENDIANNESS=-EB V=1 all
@cp $(BUILD_TOPDIR)/u-boot/tuboot.bin $(BUILD_TOPDIR)/bin/temp.bin
- @make show_size
+ @make --no-print-directory show_size
tplink_wa830re_v2_wa801nd_v2: export UBOOT_FILE_NAME=uboot_for_tp-link_tl-wa830re_v2_tl-wa801nd_v2
tplink_wa830re_v2_wa801nd_v2: export MAX_UBOOT_SIZE=64
@cd $(BUILD_TOPDIR)/u-boot/ && $(MAKECMD) wa830re_v2_wa801nd_v2_config
@cd $(BUILD_TOPDIR)/u-boot/ && $(MAKECMD) ENDIANNESS=-EB V=1 all
@cp $(BUILD_TOPDIR)/u-boot/tuboot.bin $(BUILD_TOPDIR)/bin/temp.bin
- @make show_size
+ @make --no-print-directory show_size
dlink_dir505: export UBOOT_FILE_NAME=uboot_for_d-link_dir-505
dlink_dir505: export MAX_UBOOT_SIZE=64
@cd $(BUILD_TOPDIR)/u-boot/ && $(MAKECMD) dir505_config
@cd $(BUILD_TOPDIR)/u-boot/ && $(MAKECMD) ENDIANNESS=-EB V=1 all
@cp $(BUILD_TOPDIR)/u-boot/tuboot.bin $(BUILD_TOPDIR)/bin/temp.bin
- @make show_size
+ @make --no-print-directory show_size
gs-oolite_v1_dev: export UBOOT_FILE_NAME=uboot_for_gs-oolite_v1_dev
gs-oolite_v1_dev: export MAX_UBOOT_SIZE=64
@cd $(BUILD_TOPDIR)/u-boot/ && $(MAKECMD) gs_oolite_v1_dev_config
@cd $(BUILD_TOPDIR)/u-boot/ && $(MAKECMD) ENDIANNESS=-EB V=1 all
@cp $(BUILD_TOPDIR)/u-boot/tuboot.bin $(BUILD_TOPDIR)/bin/temp.bin
- @make show_size
+ @make --no-print-directory show_size
8devices_carambola2: export UBOOT_FILE_NAME=uboot_for_8devices_carambola2
8devices_carambola2: export MAX_UBOOT_SIZE=256
@cd $(BUILD_TOPDIR)/u-boot/ && $(MAKECMD) carambola2_config
@cd $(BUILD_TOPDIR)/u-boot/ && $(MAKECMD) ENDIANNESS=-EB V=1 all
@cp $(BUILD_TOPDIR)/u-boot/u-boot.bin $(BUILD_TOPDIR)/bin/temp.bin
- @make show_size
+ @make --no-print-directory show_size
dragino_v2_ms14: export UBOOT_FILE_NAME=uboot_for_dragino_v2_ms14
dragino_v2_ms14: export MAX_UBOOT_SIZE=192
@cd $(BUILD_TOPDIR)/u-boot/ && $(MAKECMD) dragino_v2_ms14_config
@cd $(BUILD_TOPDIR)/u-boot/ && $(MAKECMD) ENDIANNESS=-EB V=1 all
@cp $(BUILD_TOPDIR)/u-boot/u-boot.bin $(BUILD_TOPDIR)/bin/temp.bin
- @make show_size
+ @make --no-print-directory show_size
show_size:
- @echo -e "\n======= Preparing $(MAX_UBOOT_SIZE)KB file filled with 0xFF... ======="
- @`tr "\000" "\377" < /dev/zero | dd ibs=1k count=$(MAX_UBOOT_SIZE) of=$(BUILD_TOPDIR)/bin/$(UBOOT_FILE_NAME).bin`
- @echo -e "\n======= Copying U-Boot image... ======="
- @`dd if=$(BUILD_TOPDIR)/bin/temp.bin of=$(BUILD_TOPDIR)/bin/$(UBOOT_FILE_NAME).bin conv=notrunc`
+ @/bin/echo -e "\e[32m"
+ @echo "> Preparing $(MAX_UBOOT_SIZE)KB file filled with 0xFF..."
+ @`tr "\000" "\377" < /dev/zero | dd ibs=1k count=$(MAX_UBOOT_SIZE) of=$(BUILD_TOPDIR)/bin/$(UBOOT_FILE_NAME).bin 2> /dev/null`
+ @echo "> Copying U-Boot image..."
+ @`dd if=$(BUILD_TOPDIR)/bin/temp.bin of=$(BUILD_TOPDIR)/bin/$(UBOOT_FILE_NAME).bin conv=notrunc 2> /dev/null`
@`rm $(BUILD_TOPDIR)/bin/temp.bin`
- @echo -e "\n======= U-Boot image ready, size:" `wc -c < $(BUILD_TOPDIR)/bin/$(UBOOT_FILE_NAME).bin`" bytes =======\n"
+ @echo "> U-Boot image ready, size:" `wc -c < $(BUILD_TOPDIR)/bin/$(UBOOT_FILE_NAME).bin`" bytes"
@`md5sum $(BUILD_TOPDIR)/bin/$(UBOOT_FILE_NAME).bin | awk '{print $$1}' | tr -d '\n' > $(BUILD_TOPDIR)/bin/$(UBOOT_FILE_NAME).md5`
@`echo ' *'$(UBOOT_FILE_NAME).bin >> $(BUILD_TOPDIR)/bin/$(UBOOT_FILE_NAME).md5`
- @if [ "`wc -c < $(BUILD_TOPDIR)/bin/$(UBOOT_FILE_NAME).bin`" -gt "`echo '$(MAX_UBOOT_SIZE)*1024' | bc`" ]; then \
- echo -e "\n **********************************"; \
- echo " * U-BOOT IMAGE SIZE TOO BIG! *"; \
- echo -e " **********************************\n"; \
+ @if [ "`wc -c < $(BUILD_TOPDIR)/bin/$(UBOOT_FILE_NAME).bin`" -gt "`/bin/echo '$(MAX_UBOOT_SIZE)*1024' | bc`" ]; then \
+ /bin/echo -e "\e[31m\n**************************************************"; \
+ /bin/echo "* WARNING: U-BOOT IMAGE SIZE IS TOO BIG! *"; \
+ /bin/echo -e "**************************************************"; \
fi;
+ @/bin/echo -e "\e[0m"
clean:
- @cd $(BUILD_TOPDIR)/u-boot/ && $(MAKECMD) distclean
+ @cd $(BUILD_TOPDIR)/u-boot/ && $(MAKECMD) --no-print-directory distclean
@rm -f $(BUILD_TOPDIR)/u-boot/httpd/fsdata.c
clean_all: clean
- @echo Removing all binary images
+ @/bin/echo -e "\e[32m> Removing all binary images...\e[0m"
@rm -f $(BUILD_TOPDIR)/bin/*.bin
@rm -f $(BUILD_TOPDIR)/bin/*.md5
$(OBJCOPY) ${OBJCFLAGS} -O binary $< $@
u-boot.img: u-boot.bin
+ @/bin/echo -e "\n\e[32m> Preparing U-Boot image...\e[0m"
./tools/mkimage -A $(ARCH) -T firmware -C none \
-a $(TEXT_BASE) -e 0 \
-n $(shell sed -n -e 's/.*U_BOOT_VERSION//p' $(VERSION_FILE) | \
@rm -rf u-boot.bin.lzma
#$(LZMA) e $(obj)u-boot.bin u-boot.bin.lzma
$(LZMA) --best --keep $(obj)u-boot.bin
+ @/bin/echo -e "\n\e[32m> Preparing U-Boot image...\e[0m"
./tools/mkimage -A mips -T firmware -C lzma \
-a 0x$(shell grep "T _start" $(TOPDIR)/System.map | awk '{ printf "%s", $$1 }') \
-e 0x$(shell grep "T _start" $(TOPDIR)/System.map | awk '{ printf "%s", $$1 }') \
@echo "#define CONFIG_HORNET_1_1_WAR 1" >> include/config.h
wr703n_config : unconfig hornet_common_config
- @echo '======= Configuring for TP-Link TL-WR703N at:' `date` '======='
+ @/bin/echo -e '\e[32m> Configuring for TP-Link TL-WR703N at:' `date` '\e[0m'
@echo "#define CONFIG_FOR_TPLINK_WR703N_V1 1" >> include/config.h
@echo "#define GPIO_SYS_LED_BIT 27" >> include/config.h
@echo "#define GPIO_SYS_LED_ON 0" >> include/config.h
@./mkconfig -a ap121 mips mips ap121 ar7240 ar7240
wr720n_v3_CH_config : unconfig hornet_common_config
- @echo '======= Configuring for TP-Link TL-WR720N v3 CH at:' `date` '======='
+ @/bin/echo -e '\e[32m> Configuring for TP-Link TL-WR720N v3 CH at:' `date` '\e[0m'
@echo "#define CONFIG_FOR_TPLINK_WR720N_V3 1" >> include/config.h
@echo "#define GPIO_SYS_LED_BIT 27" >> include/config.h
@echo "#define GPIO_SYS_LED_ON 0" >> include/config.h
@./mkconfig -a ap121 mips mips ap121 ar7240 ar7240
wr710n_config : unconfig hornet_common_config
- @echo '======= Configuring for TP-Link TL-WR710N at:' `date` '======='
+ @/bin/echo -e '\e[32m> Configuring for TP-Link TL-WR710N at:' `date` '\e[0m'
@echo "#define CONFIG_FOR_TPLINK_WR710N_V1 1" >> include/config.h
@echo "#define GPIO_SYS_LED_BIT 27" >> include/config.h
@echo "#define GPIO_SYS_LED_ON 0" >> include/config.h
@./mkconfig -a ap121 mips mips ap121 ar7240 ar7240
mr3020_config : unconfig hornet_common_config
- @echo '======= Configuring for TP-Link TL-MR3020 at:' `date` '======='
+ @/bin/echo -e '\e[32m> Configuring for TP-Link TL-MR3020 at:' `date`.'\e[0m'
@echo "#define CONFIG_FOR_TPLINK_MR3020_V1 1" >> include/config.h
@echo "#define GPIO_INTERNET_LED_BIT 27" >> include/config.h
@echo "#define GPIO_INTERNET_LED_ON 0" >> include/config.h
@./mkconfig -a ap121 mips mips ap121 ar7240 ar7240
mr3040_config : unconfig hornet_common_config
- @echo '======= Configuring for TP-Link TL-MR3040 at:' `date` '======='
+ @/bin/echo -e '\e[32m> Configuring for TP-Link TL-MR3040 at:' `date` '\e[0m'
@echo "#define CONFIG_FOR_TPLINK_MR3040_V1V2 1" >> include/config.h
@echo "#define GPIO_INTERNET_LED_BIT 27" >> include/config.h
@echo "#define GPIO_INTERNET_LED_ON 0" >> include/config.h
@./mkconfig -a ap121 mips mips ap121 ar7240 ar7240
mr10u_config : unconfig hornet_common_config
- @echo '======= Configuring for TP-Link TL-MR10U at:' `date` '======='
+ @/bin/echo -e '\e[32m> Configuring for TP-Link TL-MR10U at:' `date` '\e[0m'
@echo "#define CONFIG_FOR_TPLINK_MR10U_V1 1" >> include/config.h
@echo "#define GPIO_SYS_LED_BIT 27" >> include/config.h
@echo "#define GPIO_SYS_LED_ON 0" >> include/config.h
@./mkconfig -a ap121 mips mips ap121 ar7240 ar7240
mr13u_config : unconfig hornet_common_config
- @echo '======= Configuring for TP-Link TL-MR13U at:' `date` '======='
+ @/bin/echo -e '\e[32m> Configuring for TP-Link TL-MR13U at:' `date` '\e[0m'
@echo "#define CONFIG_FOR_TPLINK_MR13U_V1 1" >> include/config.h
@echo "#define GPIO_SYS_LED_BIT 27" >> include/config.h
@echo "#define GPIO_SYS_LED_ON 0" >> include/config.h
@./mkconfig -a ap121 mips mips ap121 ar7240 ar7240
wr740n_v4_config : unconfig hornet_common_config
- @echo '======= Configuring for TP-Link TL-WR740N v4 at:' `date` '======='
+ @/bin/echo -e '\e[32m> Configuring for TP-Link TL-WR740N v4 at:' `date` '\e[0m'
@echo "#define CONFIG_FOR_TPLINK_WR740N_V4 1" >> include/config.h
@echo "#define GPIO_SYS_LED_BIT 27" >> include/config.h
@echo "#define GPIO_SYS_LED_ON 0" >> include/config.h
@./mkconfig -a ap121 mips mips ap121 ar7240 ar7240
mr3220_v2_config : unconfig hornet_common_config
- @echo '======= Configuring for TP-Link TL-MR3220 v2 at:' `date` '======='
+ @/bin/echo -e '\e[32m> Configuring for TP-Link TL-MR3220 v2 at:' `date` '\e[0m'
@echo "#define CONFIG_FOR_TPLINK_MR3220_V2 1" >> include/config.h
@echo "#define GPIO_SYS_LED_BIT 27" >> include/config.h
@echo "#define GPIO_SYS_LED_ON 0" >> include/config.h
@./mkconfig -a ap121 mips mips ap121 ar7240 ar7240
dir505_config : unconfig hornet_common_config
- @echo '======= Configuring for D-Link DIR-505 at:' `date` '======='
+ @/bin/echo -e '\e[32m> Configuring for D-Link DIR-505 at:' `date` '\e[0m'
@echo "#define CONFIG_FOR_DLINK_DIR505_A1 1" >> include/config.h
@echo "#define GPIO_SYS_LED_BIT 27" >> include/config.h
@echo "#define GPIO_SYS_LED_ON 0" >> include/config.h
@./mkconfig -a ap121 mips mips ap121 ar7240 ar7240
gs_oolite_v1_dev_config : unconfig hornet_common_config
- @echo '======= Configuring for GS-Oolite v1 with dev board at:' `date` '======='
+ @/bin/echo -e '\e[32m> Configuring for GS-Oolite v1 with dev board at:' `date` '\e[0m'
@echo "#define CONFIG_FOR_GS_OOLITE_V1_DEV 1" >> include/config.h
@echo "#define GPIO_SYS_LED_BIT 27" >> include/config.h
@echo "#define GPIO_SYS_LED_ON 0" >> include/config.h
@./mkconfig -a ap121 mips mips ap121 ar7240 ar7240
carambola2_config : unconfig hornet_common_config
- @echo '======= Configuring for 8devices Carambola 2 at:' `date` '======='
+ @/bin/echo -e '\e[32m> Configuring for 8devices Carambola 2 at:' `date` '\e[0m'
@echo "#define CONFIG_FOR_8DEVICES_CARAMBOLA2 1" >> include/config.h
# Carambola 2 uses uncompressed version
@./mkconfig -a ap121 mips mips ap121 ar7240 ar7240
dragino_v2_ms14_config : unconfig hornet_common_config
- @echo '======= Configuring for Dragino Dragino v2 (MS14) at:' `date` '======='
+ @/bin/echo -e '\e[32m> Configuring for Dragino Dragino v2 (MS14) at:' `date` '\e[0m'
@echo "#define CONFIG_FOR_DRAGINO_V2 1" >> include/config.h
@echo "#undef COMPRESSED_UBOOT" >> include/config.h
@echo "#define GPIO_WLAN_LED_BIT 0" >> include/config.h
@echo "#define CONFIG_WASP_SUPPORT 1" >> include/config.h
wdr3600_43x0_config : unconfig wasp_common_config
- @echo '======= Configuring for TP-Link TL-WDR3600/43x0 at:' `date` '======='
+ @/bin/echo -e '\e[32m> Configuring for TP-Link TL-WDR3600/43x0 at:' `date` '\e[0m'
@echo "#define CONFIG_FOR_TPLINK_WDR3600_WDR43X0_V1 1" >> include/config.h
@echo "#define DDR2_32BIT_SUPPORT 1" >> include/config.h
@echo "#define CFG_ATHRS17_PHY 1" >> include/config.h
@./mkconfig -a db12x mips mips db12x ar7240 ar7240
wdr3500_config : unconfig wasp_common_config
- @echo '======= Configuring for TP-Link TL-WDR3500 at:' `date` '======='
+ @/bin/echo -e '\e[32m> Configuring for TP-Link TL-WDR3500 at:' `date` '\e[0m'
@echo "#define CONFIG_FOR_TPLINK_WDR3500_V1 1" >> include/config.h
@echo "#define DDR2_32BIT_SUPPORT 1" >> include/config.h
@echo "#define CFG_ATHRS27_PHY 1" >> include/config.h
@./mkconfig -a db12x mips mips db12x ar7240 ar7240
mr3420_v2_config : unconfig wasp_common_config
- @echo '======= Configuring for TP-Link TL-MR3420 v2 at:' `date` '======='
+ @/bin/echo -e '\e[32m> Configuring for TP-Link TL-MR3420 v2 at:' `date` '\e[0m'
@echo "#define CONFIG_FOR_TPLINK_MR3420_V2 1" >> include/config.h
@echo "#define CONFIG_AP123 1" >> include/config.h
@echo "#define DDR2_32BIT_SUPPORT 1" >> include/config.h
@./mkconfig -a db12x mips mips db12x ar7240 ar7240
wr841n_v8_config : unconfig wasp_common_config
- @echo '======= Configuring for TP-Link TL-WR841N/D v8 at:' `date` '======='
+ @/bin/echo -e '\e[32m> Configuring for TP-Link TL-WR841N/D v8 at:' `date` '\e[0m'
@echo "#define CONFIG_FOR_TPLINK_WR841N_V8 1" >> include/config.h
@echo "#define CONFIG_AP123 1" >> include/config.h
@echo "#define DDR2_32BIT_SUPPORT 1" >> include/config.h
@./mkconfig -a db12x mips mips db12x ar7240 ar7240
wa830re_v2_wa801nd_v2_config : unconfig wasp_common_config
- @echo '======= Configuring for TP-Link TL-WA830RE/TL-WA801ND v2 at:' `date` '======='
+ @/bin/echo -e '\e[32m> Configuring for TP-Link TL-WA830RE/TL-WA801ND v2 at:' `date` '\e[0m'
@echo "#define CONFIG_FOR_TPLINK_WA830RE_V2_WA801ND_V2 1" >> include/config.h
@echo "#define CONFIG_AP123 1" >> include/config.h
@echo "#define DDR2_32BIT_SUPPORT 1" >> include/config.h
#########################################################################
clean:
- @echo Making $@
+ @/bin/echo -e "\e[32m> Making $@...\e[0m"
@find . -type f \
\( -name 'core' -o -name '*.bak' -o -name '*~' \
-o -name '*.o' -o -name '*.a' -o -name .depend \) -print \
@rm -f bootstrap bootstrap.bin tuboot.bin u-boot.lzimg u-boot.bin.lzma bootstrap.map
clobber: clean
- @echo Making $@
+ @/bin/echo -e "\e[32m> Making $@...\e[0m"
@find . -type f \( -name .depend \
-o -name '*.srec' -o -name '*.bin' -o -name u-boot.img \) \
-print0 \