aboutsummaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorPaulK <contact@paulk.fr>2011-08-18 22:39:58 +0200
committerJoerie de Gram <j.de.gram@gmail.com>2011-08-19 00:07:01 +0200
commitf74d8e2c179065bd8712b113b65957c617ad6c54 (patch)
treeff52a249f3f91acf3fc999c7cc5299e922b19a11 /Android.mk
parent31ecac1c244e69748617e3b88a84dbbffd3d5601 (diff)
downloadexternal_libsamsung-ipc-f74d8e2c179065bd8712b113b65957c617ad6c54.zip
external_libsamsung-ipc-f74d8e2c179065bd8712b113b65957c617ad6c54.tar.gz
external_libsamsung-ipc-f74d8e2c179065bd8712b113b65957c617ad6c54.tar.bz2
devices: add support for Nexus S
As for now, it features: * booting the modem * the ability to receive and send messages from/to the modem The messages received from the modem are in a known format and can be understood easilly, and it's also possible to send messages to the modem in that very same known format.
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index f856eab..dacd080 100644
--- a/Android.mk
+++ b/Android.mk
@@ -13,6 +13,12 @@ LOCAL_MODULE_TAGS := optional
LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
LOCAL_SRC_FILES := $(libsamsung-ipc_files)
+ifeq ($(TARGET_DEVICE),crespo)
+ libsamsung-ipc_files += devices/$(TARGET_DEVICE)/nv_data.c
+ LOCAL_CFLAGS += -Iexternal/openssl/include
+ LOCAL_LDFLAGS += -lcrypto
+endif
+
include $(BUILD_STATIC_LIBRARY)
include $(CLEAR_VARS)
@@ -26,5 +32,11 @@ LOCAL_CFLAGS := -DLOG_STDOUT
LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
LOCAL_SRC_FILES := $(libsamsung-ipc_files) test.c
+ifeq ($(TARGET_DEVICE),crespo)
+ libsamsung-ipc_files += devices/$(TARGET_DEVICE)/nv_data.c
+ LOCAL_CFLAGS += -Iexternal/openssl/include
+ LOCAL_LDFLAGS += -lcrypto
+endif
+
include $(BUILD_EXECUTABLE)