diff options
author | Igor Almeida <igor.contato@gmail.com> | 2011-11-27 11:27:41 +0100 |
---|---|---|
committer | PaulK <contact@paulk.fr> | 2012-01-07 20:25:16 +0100 |
commit | 867488ca7e7fcfb434e0036d824bd2f02283a34f (patch) | |
tree | 353902233097e4872b89a59ff64473d0f9d22496 /Android.mk | |
parent | 6164e00e662a344f3ae8f31543aed68cb75b8ada (diff) | |
download | hardware_replicant_libsamsung-ipc-867488ca7e7fcfb434e0036d824bd2f02283a34f.tar.gz hardware_replicant_libsamsung-ipc-867488ca7e7fcfb434e0036d824bd2f02283a34f.tar.bz2 hardware_replicant_libsamsung-ipc-867488ca7e7fcfb434e0036d824bd2f02283a34f.zip |
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.mk | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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 |