summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJun Yu <yujun@marvell.com>2015-11-01 10:33:19 -0800
committerMohammed Habibulla <moch@google.com>2015-11-06 11:18:19 -0800
commit79ddc6a141b6fc8285b25e8cc9659cab31c7bb04 (patch)
tree6a6b86e8d4260daebad1cf72f9cea1c5027e9052
parent5ae58e07840b5008c6a5c759994824f2814cd288 (diff)
downloadmarvell-79ddc6a141b6fc8285b25e8cc9659cab31c7bb04.tar.gz
Added the basic hal modules support
BUG=25486837 Change-Id: If092707cd43d643249a1bbd3adf2ca8b69461aba
-rw-r--r--soc/iap140/hal_modules.mk25
-rw-r--r--soc/iap140/soc.mk3
2 files changed, 28 insertions, 0 deletions
diff --git a/soc/iap140/hal_modules.mk b/soc/iap140/hal_modules.mk
new file mode 100644
index 0000000..60e20ce
--- /dev/null
+++ b/soc/iap140/hal_modules.mk
@@ -0,0 +1,25 @@
+#
+# Copyright 2015 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.
+#
+
+-include hardware/bsp/marvell/soc/iap140/modules/audio_hal_module.mk
+-include hardware/bsp/marvell/soc/iap140/modules/sensor_hal_module.mk
+-include hardware/bsp/marvell/soc/iap140/modules/lights_hal_module.mk
+-include hardware/bsp/marvell/soc/iap140/modules/power_hal_module.mk
+-include hardware/bsp/marvell/soc/iap140/modules/wifi_hal_module.mk
+-include hardware/bsp/marvell/soc/iap140/modules/bluetooth_hal_moduel.mk
+
+# the client and server of the wireless daemon
+-include hardware/bsp/marvell/soc/iap140/modules/libwireless.mk
diff --git a/soc/iap140/soc.mk b/soc/iap140/soc.mk
index fa2846f..bbc5696 100644
--- a/soc/iap140/soc.mk
+++ b/soc/iap140/soc.mk
@@ -40,3 +40,6 @@ BOARD_SEPOLICY_DIRS += \
# Set up the local kernel.
TARGET_KERNEL_SRC := hardware/bsp/kernel/marvell/pxa-3.14
TARGET_KERNEL_DEFCONFIG := armadillo_edge_defconfig
+
+# include the hal modules
+-include hardware/bsp/marvell/soc/iap140/hal_modules.mk