From a4545d9a25bdfe0488c83f50ea9b47e09cd29a16 Mon Sep 17 00:00:00 2001 From: Lars Pedersen Date: Fri, 1 Apr 2016 15:50:08 +0200 Subject: [PATCH] SSB-14933 wifi-hal: Avoid including wifi-hal if the platform doesn't support scsc wifibt 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 --- Android.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Android.mk b/Android.mk index 4bd17fa..79efc72 100755 --- a/Android.mk +++ b/Android.mk @@ -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 -- 2.20.1