Add toolchain gcc-4.9-rls3895

Change-Id: I074d1ed16182b5c95e714e993f02989814c0e055
diff --git a/mbtk/Make.defines b/mbtk/Make.defines
index ddb0420..55084fc 100755
--- a/mbtk/Make.defines
+++ b/mbtk/Make.defines
@@ -9,11 +9,17 @@
 LOCAL_PATH=.

 

 ifeq ($(BUILD_PLATFORM), asr1803)

+ifeq ($(BUILD_BRANCH), rls3895)

+BUILD_TOOLCHAIN_DIR = $(ROOT)/toolchain/gcc-4.9-rls3895

+else

 BUILD_TOOLCHAIN_DIR = $(ROOT)/toolchain/gcc-4.9

+endif

 CC=$(BUILD_TOOLCHAIN_DIR)/bin/arm-openwrt-linux-uclibcgnueabi-gcc

 AR=$(BUILD_TOOLCHAIN_DIR)/bin/arm-openwrt-linux-uclibcgnueabi-ar

 else ifeq ($(BUILD_PLATFORM), asr1806)

+

 BUILD_TOOLCHAIN_DIR = $(ROOT)/toolchain/gcc-8.4

+

 CC=$(BUILD_TOOLCHAIN_DIR)/bin/arm-openwrt-linux-muslgnueabi-gcc

 AR=$(BUILD_TOOLCHAIN_DIR)/bin/arm-openwrt-linux-muslgnueabi-ar

 else

@@ -25,6 +31,7 @@
 

 $(info BUILD_LIB_TYPE=$(BUILD_LIB_TYPE))

 $(info BUILD_PLATFORM=$(BUILD_PLATFORM))

+$(info BUILD_BRANCH=$(BUILD_BRANCH))

 $(info ROOT=$(ROOT))

 $(info CC=$(CC))

 $(info AR=$(AR))

@@ -79,7 +86,11 @@
 endif

 else

 DEFINE += -DMBTK_POLARSSL_SUPPORT

+

+ifeq ($(BUILD_BRANCH), rls3671)

 DEFINE += -DMBTK_MP3_SUPPORT

+endif

+

 DEFINE += -DMBTK_PLATFORM_ASR1803

 

 ifeq ($(shell echo $(BUILD_PROJECT) | cut -c 1-4), L508)