Fix 1806 build error.
Change-Id: I08c1bf4a8184e0dc60273e3113292480599a2772
diff --git a/mbtk/Make.defines b/mbtk/Make.defines
index 0b5f1fe..5cccc36 100755
--- a/mbtk/Make.defines
+++ b/mbtk/Make.defines
@@ -3,19 +3,17 @@
# Definitions required in all program directories to compile and link
# C programs using gcc.
-# static / shared
-#BUILD_LIB_TYPE = shared
-# gcc-4.9 / gcc-8.4
-#BUILD_PLATFORM = gcc-8.4
+
OUT_DIR = $(ROOT)/out
BUILD_ROOT = $(ROOT)/mbtk
-BUILD_TOOLCHAIN_DIR = $(ROOT)/toolchain/$(BUILD_PLATFORM)
LOCAL_PATH=.
-ifeq ($(BUILD_PLATFORM), gcc-4.9)
+ifeq ($(BUILD_PLATFORM), asr1803)
+BUILD_TOOLCHAIN_DIR = $(ROOT)/toolchain/gcc-4.9
CC=$(BUILD_TOOLCHAIN_DIR)/bin/arm-openwrt-linux-uclibcgnueabi-gcc
AR=$(BUILD_TOOLCHAIN_DIR)/bin/arm-openwrt-linux-uclibcgnueabi-ar
-else ifeq ($(BUILD_PLATFORM), gcc-8.4)
+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
@@ -57,7 +55,7 @@
-D_FORTIFY_SOURCE=2 \
-D_GNU_SOURCE
-ifeq ($(BUILD_PLATFORM), gcc-4.9)
+ifeq ($(BUILD_PLATFORM), asr1803)
DEFINE += -DMBTK_POLARSSL_SUPPORT
endif