From f74d8e2c179065bd8712b113b65957c617ad6c54 Mon Sep 17 00:00:00 2001 From: PaulK Date: Thu, 18 Aug 2011 22:39:58 +0200 Subject: 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. --- Android.mk | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'Android.mk') 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) -- cgit v1.1