2009-03-04 11:32:55 +08:00
|
|
|
LOCAL_PATH:= $(call my-dir)
|
2014-01-11 08:05:12 +08:00
|
|
|
|
2014-02-13 14:32:07 +08:00
|
|
|
debuggerd_2nd_arch_var_prefix :=
|
|
|
|
include $(LOCAL_PATH)/debuggerd.mk
|
2014-01-11 08:05:12 +08:00
|
|
|
|
2014-02-13 14:32:07 +08:00
|
|
|
ifdef TARGET_2ND_ARCH
|
|
|
|
debuggerd_2nd_arch_var_prefix := $(TARGET_2ND_ARCH_VAR_PREFIX)
|
|
|
|
include $(LOCAL_PATH)/debuggerd.mk
|
2014-02-01 09:15:10 +08:00
|
|
|
endif
|
2009-03-04 11:32:55 +08:00
|
|
|
|
2010-03-09 11:21:07 +08:00
|
|
|
ifeq ($(ARCH_ARM_HAVE_VFP),true)
|
2014-02-13 14:32:07 +08:00
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
2010-03-09 11:21:07 +08:00
|
|
|
LOCAL_CFLAGS += -DWITH_VFP
|
|
|
|
ifeq ($(ARCH_ARM_HAVE_VFP_D32),true)
|
|
|
|
LOCAL_CFLAGS += -DWITH_VFP_D32
|
|
|
|
endif # ARCH_ARM_HAVE_VFP_D32
|
|
|
|
|
2014-02-13 14:32:07 +08:00
|
|
|
LOCAL_SRC_FILES := vfp-crasher.c arm/vfp.S
|
|
|
|
LOCAL_MODULE := vfp-crasher
|
2009-03-04 11:32:55 +08:00
|
|
|
LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES)
|
2011-01-24 09:51:54 +08:00
|
|
|
LOCAL_MODULE_TAGS := optional
|
2013-04-10 13:03:45 +08:00
|
|
|
LOCAL_SHARED_LIBRARIES := libcutils liblog libc
|
2014-02-13 14:32:07 +08:00
|
|
|
LOCAL_MODULE_TARGET_ARCH := arm
|
2009-03-04 11:32:55 +08:00
|
|
|
include $(BUILD_EXECUTABLE)
|
2014-02-13 14:32:07 +08:00
|
|
|
endif # ARCH_ARM_HAVE_VFP == true
|
2009-03-04 11:32:55 +08:00
|
|
|
|
2009-12-18 04:50:58 +08:00
|
|
|
include $(CLEAR_VARS)
|
2014-02-13 14:32:07 +08:00
|
|
|
LOCAL_SRC_FILES := vfp-crasher.c arm64/vfp.S
|
|
|
|
LOCAL_MODULE := vfp-crasher64
|
2009-12-18 04:50:58 +08:00
|
|
|
LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES)
|
2011-01-24 09:51:54 +08:00
|
|
|
LOCAL_MODULE_TAGS := optional
|
2013-04-10 13:03:45 +08:00
|
|
|
LOCAL_SHARED_LIBRARIES := libcutils liblog libc
|
2014-02-13 14:32:07 +08:00
|
|
|
LOCAL_MODULE_TARGET_ARCH := arm64
|
2009-12-18 04:50:58 +08:00
|
|
|
include $(BUILD_EXECUTABLE)
|