SSB-14933 wifi-hal: Avoid including wifi-hal if the platform doesn't support scsc...
authorLars Pedersen <lars.p@samsung.com>
Fri, 1 Apr 2016 13:50:08 +0000 (15:50 +0200)
committerTarun Karela <t.karela@samsung.com>
Mon, 4 Jun 2018 09:40:47 +0000 (10:40 +0100)
Introduce guard to prevent including wifi-hal if the platform
doesn't support scsc wifibt.

Change-Id: If0abc68a26069f357ce33f5a79c562454f4b6dd0
SCSC-Bug-Id: SSB-14933
Signed-off-by: Lars Pedersen <lars.p@samsung.com>
Android.mk

index 4bd17fae8321c58afe0e75fd6b9af426748b1063..79efc727c4ca2f45e6c105247cb521bebc63bd0a 100755 (executable)
@@ -3,6 +3,9 @@
 # Copyright (c) 2012 - 2013 Samsung Electronics Co., Ltd
 #
 #############################################################################
+
+ifeq ($(CONFIG_SAMSUNG_SCSC_WIFIBT),true)
+
 LOCAL_PATH := $(call my-dir)
 
 # Make the HAL library
@@ -27,3 +30,5 @@ LOCAL_SRC_FILES := \
 LOCAL_MODULE := libwifi-hal-slsi
 
 include $(BUILD_STATIC_LIBRARY)
+
+endif