Fix lynq_lib build

Change-Id: I98fec7b11588cbf16d8d9d54e5b1a8248106e79e
diff --git a/mbtk/lynq_lib/Makefile b/mbtk/lynq_lib/Makefile
index ea30db9..fc5e2dd 100755
--- a/mbtk/lynq_lib/Makefile
+++ b/mbtk/lynq_lib/Makefile
@@ -7,7 +7,10 @@
 
 LIB_DIR +=
 
-LIBS += -llog -lmbtk_lib -lmbtk_audio_lib
+LIBS += -llog -lmbtk_lib
+ifeq ($(BUILD_PLATFORM), asr1806)
+LIBS += -lmbtk_audio_lib
+endif
 
 CFLAGS += -shared -Wl,-shared,-Bsymbolic
 
@@ -22,7 +25,27 @@
 #MY_FILES_PATH += $(LOCAL_PATH)/platform/linux
 #endif
 
-LOCAL_SRC_FILES = $(wildcard src/*.c) $(wildcard src/*.cpp)
+#LOCAL_SRC_FILES = $(wildcard src/*.c) $(wildcard src/*.cpp)
+LOCAL_SRC_FILES = src/lynq_adc.c \
+	src/lynq_alarm.c \
+	src/lynq_data_call.c \
+	src/lynq_fota.c \
+	src/lynq_gnss.c \
+	src/lynq_gpio.c \
+	src/lynq_irq.c \
+	src/lynq_log.c \
+	src/lynq_net_light.c \
+	src/lynq_network.c \
+	src/lynq_sim.c \
+	src/lynq_sleep.c \
+	src/lynq_sms.c \
+	src/lynq_time.c \
+	src/lynq_voice_call.c
+
+ifeq ($(BUILD_PLATFORM), asr1806)
+LOCAL_SRC_FILES += src/lynq_audio.c
+endif
+
 OBJS = $(patsubst %.c, %.o, $(patsubst %.cpp, %.o, $(LOCAL_SRC_FILES)))
 $(info OBJS = $(OBJS))