Revert "Fix the compile issues when no device is defined."
[hayes-ril.git] / Android.mk
index 3728f87..ad5da7e 100644 (file)
@@ -30,14 +30,16 @@ hayes_ril_files := \
 ifeq ($(TARGET_DEVICE),gta04)
        hayes_ril_device_files := device/gta04/gta04.c
        LOCAL_C_INCLUDES += $(LOCAL_PATH)/device/gta04/
-elsif ($(TARGET_DEVICE),passion)
+endif
+
+ifeq ($(TARGET_DEVICE),passion)
        hayes_ril_device_files := device/passion/passion.c
        LOCAL_C_INCLUDES += $(LOCAL_PATH)/device/passion/
-elsif ($(TARGET_DEVICE),dream_sapphire)
+endif
+
+ifeq ($(TARGET_DEVICE),dream_sapphire)
        hayes_ril_device_files := device/dream_sapphire/dream_sapphire.c
        LOCAL_C_INCLUDES += $(LOCAL_PATH)/device/dream_sapphire/
-else
-       hayes_ril_device_files := device/dummy/dummy.c
 endif
 
 LOCAL_SRC_FILES := $(hayes_ril_files) $(hayes_ril_device_files)