aboutsummaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorIgor Almeida <igor.contato@gmail.com>2011-11-27 11:27:41 +0100
committerPaulK <contact@paulk.fr>2012-01-07 20:25:16 +0100
commit867488ca7e7fcfb434e0036d824bd2f02283a34f (patch)
tree353902233097e4872b89a59ff64473d0f9d22496 /Android.mk
parent6164e00e662a344f3ae8f31543aed68cb75b8ada (diff)
downloadexternal_libsamsung-ipc-867488ca7e7fcfb434e0036d824bd2f02283a34f.zip
external_libsamsung-ipc-867488ca7e7fcfb434e0036d824bd2f02283a34f.tar.gz
external_libsamsung-ipc-867488ca7e7fcfb434e0036d824bd2f02283a34f.tar.bz2
Start adding support for Samsung Galaxy S
Mostly copy/paste from crespo code, with minor additions. This is still incomplete, galaxysmtd_ipc.c has crespo_* functions which have not yet been touched. In tests, bootstrap code worked fine and FMT read loop entered cleanly after nv_data was sent. Change-Id: Id8908ffe3f3c58889f81fc4ab281ec024cecd5fa
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 0525ce2..8e79c8f 100644
--- a/Android.mk
+++ b/Android.mk
@@ -26,6 +26,13 @@ ifeq ($(TARGET_DEVICE),crespo)
LOCAL_CFLAGS += -DDEVICE_CRESPO
endif
+ifeq ($(TARGET_DEVICE),galaxysmtd)
+ device_files := samsung-ipc/device/$(TARGET_DEVICE)/$(TARGET_DEVICE)_nv_data.c
+ LOCAL_CFLAGS += -Iexternal/openssl/include
+ LOCAL_LDFLAGS += -lcrypto
+ LOCAL_CFLAGS += -DDEVICE_CRESPO
+endif
+
ifeq ($(TARGET_DEVICE),h1)
LOCAL_CFLAGS += -DDEVICE_H1
endif
@@ -55,6 +62,9 @@ modemctrl_files := tools/modemctrl.c
ifeq ($(TARGET_DEVICE),crespo)
LOCAL_CFLAGS += -DDEVICE_CRESPO
endif
+ifeq ($(TARGET_DEVICE),galaxysmtd)
+ LOCAL_CFLAGS += -DDEVICE_CRESPO
+endif
ifeq ($(TARGET_DEVICE),h1)
LOCAL_CFLAGS += -DDEVICE_H1
endif