summaryrefslogtreecommitdiff
path: root/qcwcn/wifi_hal/Android.mk
diff options
context:
space:
mode:
authorVinit Deshapnde <vinitd@google.com>2014-04-08 15:36:21 -0700
committerVinit Deshapnde <vinitd@google.com>2014-05-07 18:54:01 -0700
commitb573b879161949728b9cbdb0ef2dc8db32a47bfc (patch)
tree376f25ee2a04ef1d6c25eb4614de061f63ebf4c9 /qcwcn/wifi_hal/Android.mk
parent2489c14af3ee6d017baeab3dae4d0b37cfab8319 (diff)
downloadwlan-b573b879161949728b9cbdb0ef2dc8db32a47bfc.tar.gz
Moving Wifi HAL to hardware
This change moves all Wifi HAL headers to libhardware_legacy; and moves hal implementation under hardware/<vendor>/wlan. This way different vendors will be able to tailor implementation to their drivers. Change-Id: I55789bb6788ab694f4896aa36d76f7887b32dad6
Diffstat (limited to 'qcwcn/wifi_hal/Android.mk')
-rw-r--r--qcwcn/wifi_hal/Android.mk40
1 files changed, 40 insertions, 0 deletions
diff --git a/qcwcn/wifi_hal/Android.mk b/qcwcn/wifi_hal/Android.mk
new file mode 100644
index 0000000..62fa4ed
--- /dev/null
+++ b/qcwcn/wifi_hal/Android.mk
@@ -0,0 +1,40 @@
+# Copyright (C) 2011 The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+LOCAL_PATH := $(call my-dir)
+
+# Make the HAL library
+# ============================================================
+include $(CLEAR_VARS)
+
+LOCAL_REQUIRED_MODULES :=
+
+LOCAL_CFLAGS += -Wno-unused-parameter -Wno-int-to-pointer-cast
+LOCAL_CFLAGS += -Wno-maybe-uninitialized -Wno-parentheses
+LOCAL_CPPFLAGS += -Wno-conversion-null
+
+LOCAL_C_INCLUDES += \
+ external/libnl-headers \
+ $(call include-path-for, libhardware_legacy)/hardware_legacy \
+
+LOCAL_SRC_FILES := \
+ wifi_hal.cpp \
+ common.cpp \
+ cpp_bindings.cpp \
+ gscan.cpp
+
+LOCAL_MODULE := libwifi-hal-qcom
+
+include $(BUILD_STATIC_LIBRARY)
+