summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorPaulK <contact@paulk.fr>2011-11-22 21:50:42 +0100
committerPaulK <contact@paulk.fr>2011-11-22 21:50:42 +0100
commit233f0f23c75971de36d77605572c9df6b344ca73 (patch)
tree06598ad50aa97a30041d05ab9c0e8d13c797ea51 /Android.mk
parent791fd3e4a946c05d6598f5054075515df6327b7d (diff)
downloadhardware_replicant_libsamsung-ril-233f0f23c75971de36d77605572c9df6b344ca73.tar.gz
hardware_replicant_libsamsung-ril-233f0f23c75971de36d77605572c9df6b344ca73.tar.bz2
hardware_replicant_libsamsung-ril-233f0f23c75971de36d77605572c9df6b344ca73.zip
Modified samsung-ril to work on Nexus S.
Currently, the following is working: * (automatic) network registration (clean and stable) * SMS (no clean queue engine and no support for multiple message SMS) * SIM I/O * Other minor stuff And the following is left to do: * DATA (3G) * airplane to normal power mode * calls (including audio routing) * RFS messages handling (mostly to be done at IPC level) * Other minor stuff
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk11
1 files changed, 10 insertions, 1 deletions
diff --git a/Android.mk b/Android.mk
index 1cee136..4e3c9a0 100644
--- a/Android.mk
+++ b/Android.mk
@@ -12,7 +12,8 @@ LOCAL_SRC_FILES := \
sim.c \
sms.c \
util.c \
-
+ pwr.c \
+ disp.c
LOCAL_SHARED_LIBRARIES := \
libcutils libutils libril
@@ -21,7 +22,15 @@ LOCAL_STATIC_LIBRARIES := libsamsung-ipc
# for asprinf
LOCAL_CFLAGS := -D_GNU_SOURCE
+ifeq ($(TARGET_DEVICE),crespo)
+ LOCAL_CFLAGS += -DDEVICE_CRESPO
+endif
+ifeq ($(TARGET_DEVICE),h1)
+ LOCAL_CFLAGS += -DDEVICE_H1
+endif
+
LOCAL_C_INCLUDES := external/libsamsung-ipc/include
+LOCAL_C_INCLUDES += hardware/ril/libsamsung-ipc/include
LOCAL_MODULE_TAGS := optional