From: Lars Pedersen Date: Fri, 1 Apr 2016 13:50:08 +0000 (+0200) Subject: SSB-14933 wifi-hal: Avoid including wifi-hal if the platform doesn't support scsc... X-Git-Tag: MMI-QSBS30.62-17-8~80 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a4545d9a25bdfe0488c83f50ea9b47e09cd29a16;p=GitHub%2FMotorolaMobilityLLC%2Fhardware-samsung_slsi-scsc_wifibt-wifi_hal.git 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 --- 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