summaryrefslogtreecommitdiffstats
path: root/gpswrapper/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'gpswrapper/Android.mk')
-rwxr-xr-xgpswrapper/Android.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/gpswrapper/Android.mk b/gpswrapper/Android.mk
new file mode 100755
index 0000000..a9d1ef5
--- /dev/null
+++ b/gpswrapper/Android.mk
@@ -0,0 +1,21 @@
+LOCAL_PATH := $(call my-dir)
+include $(CLEAR_VARS)
+
+LOCAL_MODULE_TAGS := optional
+
+LOCAL_MODULE := gps.$(TARGET_BOARD_PLATFORM)
+
+LOCAL_SHARED_LIBRARIES:= \
+ liblog \
+ libdl
+
+LOCAL_SRC_FILES += \
+ gps.c
+
+LOCAL_CFLAGS += \
+ -fno-short-enums
+
+LOCAL_PRELINK_MODULE := false
+LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
+
+include $(BUILD_SHARED_LIBRARY)