summaryrefslogtreecommitdiffstats
path: root/debuggerd/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'debuggerd/Android.mk')
-rw-r--r--debuggerd/Android.mk13
1 files changed, 7 insertions, 6 deletions
diff --git a/debuggerd/Android.mk b/debuggerd/Android.mk
index 422a86a..e0a2d96 100644
--- a/debuggerd/Android.mk
+++ b/debuggerd/Android.mk
@@ -1,7 +1,5 @@
# Copyright 2005 The Android Open Source Project
-ifneq ($(filter arm mips x86,$(TARGET_ARCH)),)
-
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
@@ -19,8 +17,13 @@ LOCAL_CFLAGS := \
-Wall \
-Wno-array-bounds \
-Werror \
+ -Wno-unused-parameter \
-LOCAL_MODULE := debuggerd
+ifeq ($(TARGET_IS_64_BIT),true)
+ LOCAL_MODULE := debuggerd64
+else
+ LOCAL_MODULE := debuggerd
+endif
ifeq ($(ARCH_ARM_HAVE_VFP),true)
LOCAL_CFLAGS += -DWITH_VFP
@@ -59,12 +62,10 @@ ifeq ($(ARCH_ARM_HAVE_VFP_D32),true)
LOCAL_CFLAGS += -DWITH_VFP_D32
endif # ARCH_ARM_HAVE_VFP_D32
-LOCAL_SRC_FILES := vfp-crasher.c vfp.S
+LOCAL_SRC_FILES := vfp-crasher.c $(TARGET_ARCH)/vfp.S
LOCAL_MODULE := vfp-crasher
LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES)
LOCAL_MODULE_TAGS := optional
LOCAL_SHARED_LIBRARIES := libcutils liblog libc
include $(BUILD_EXECUTABLE)
endif # ARCH_ARM_HAVE_VFP == true
-
-endif # arm or x86 in TARGET_ARCH