FM-HAL: Add support for FM Core functionalities
FM-HAL Layer contains the core FM Functionality required
for carrying out various FM operations such as FM Enable,
FM Tune, FM Seek, FM Search, FM Disable etc..
FM-HAL layer interacts with the FM-HCI layer for sending
commands and receiving events to and from Controller.
Change-Id: I0ac1c9c80671e43aafa30ce2b68f5ee695c9d764
diff --git a/helium/Android.mk b/helium/Android.mk
new file mode 100644
index 0000000..5cbc551
--- /dev/null
+++ b/helium/Android.mk
@@ -0,0 +1,29 @@
+#ifeq ($(BOARD_HAVE_QCOM_FM),true)
+#ifneq (,$(filter $(QCOM_BOARD_PLATFORMS),$(TARGET_BOARD_PLATFORM)))
+
+LOCAL_PATH := $(call my-dir)
+include $(CLEAR_VARS)
+
+LOCAL_SRC_FILES:= \
+ radio_helium_hal.c \
+ radio_helium_hal_cmds.c
+
+LOCAL_SHARED_LIBRARIES := \
+ libfm-hci \
+ libdl \
+ libnativehelper \
+ libcutils
+
+FM_HCI_DIR:= vendor/qcom/opensource/fm
+
+LOCAL_C_INCLUDES += $(FM_HCI_DIR)/fm_hci
+
+LOCAL_MODULE := fm_helium
+LOCAL_MODULE_TAGS := optional
+
+include $(BUILD_SHARED_LIBRARY)
+
+#endif # is-vendor-board-platform
+#endif # BOARD_HAVE_QCOM_FM
+
+