From 867488ca7e7fcfb434e0036d824bd2f02283a34f Mon Sep 17 00:00:00 2001 From: Igor Almeida Date: Sun, 27 Nov 2011 11:27:41 +0100 Subject: 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 --- Android.mk | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'Android.mk') 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 -- cgit v1.1