2009-03-04 04:32:55 +01:00
|
|
|
# Copyright 2005 The Android Open Source Project
|
|
|
|
|
|
|
|
ifeq ($(TARGET_ARCH),arm)
|
|
|
|
|
|
|
|
LOCAL_PATH:= $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
2009-11-05 23:10:50 +01:00
|
|
|
LOCAL_SRC_FILES:= debuggerd.c getevent.c unwind-arm.c pr-support.c utility.c symbol_table.c
|
2009-03-04 04:32:55 +01:00
|
|
|
LOCAL_CFLAGS := -Wall
|
|
|
|
LOCAL_MODULE := debuggerd
|
|
|
|
|
2010-03-09 04:21:07 +01:00
|
|
|
ifeq ($(ARCH_ARM_HAVE_VFP),true)
|
|
|
|
LOCAL_CFLAGS += -DWITH_VFP
|
|
|
|
endif # ARCH_ARM_HAVE_VFP
|
|
|
|
ifeq ($(ARCH_ARM_HAVE_VFP_D32),true)
|
|
|
|
LOCAL_CFLAGS += -DWITH_VFP_D32
|
|
|
|
endif # ARCH_ARM_HAVE_VFP_D32
|
|
|
|
|
2009-03-04 04:32:55 +01:00
|
|
|
LOCAL_STATIC_LIBRARIES := libcutils libc
|
|
|
|
|
|
|
|
include $(BUILD_EXECUTABLE)
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
2009-12-17 21:50:58 +01:00
|
|
|
LOCAL_SRC_FILES := crasher.c
|
2009-03-04 04:32:55 +01:00
|
|
|
LOCAL_SRC_FILES += crashglue.S
|
2009-12-17 21:50:58 +01:00
|
|
|
LOCAL_MODULE := crasher
|
2009-03-04 04:32:55 +01:00
|
|
|
LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES)
|
|
|
|
LOCAL_MODULE_TAGS := eng
|
|
|
|
#LOCAL_FORCE_STATIC_EXECUTABLE := true
|
|
|
|
LOCAL_SHARED_LIBRARIES := libcutils libc
|
|
|
|
include $(BUILD_EXECUTABLE)
|
|
|
|
|
2010-03-09 04:21:07 +01:00
|
|
|
ifeq ($(ARCH_ARM_HAVE_VFP),true)
|
2009-12-17 21:50:58 +01:00
|
|
|
include $(CLEAR_VARS)
|
2010-03-09 04:21:07 +01:00
|
|
|
|
|
|
|
LOCAL_CFLAGS += -DWITH_VFP
|
|
|
|
ifeq ($(ARCH_ARM_HAVE_VFP_D32),true)
|
|
|
|
LOCAL_CFLAGS += -DWITH_VFP_D32
|
|
|
|
endif # ARCH_ARM_HAVE_VFP_D32
|
|
|
|
|
2009-12-17 21:50:58 +01:00
|
|
|
LOCAL_SRC_FILES := vfp-crasher.c vfp.S
|
|
|
|
LOCAL_MODULE := vfp-crasher
|
|
|
|
LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES)
|
|
|
|
LOCAL_MODULE_TAGS := eng
|
|
|
|
LOCAL_SHARED_LIBRARIES := libcutils libc
|
|
|
|
include $(BUILD_EXECUTABLE)
|
2010-03-09 04:21:07 +01:00
|
|
|
endif # ARCH_ARM_HAVE_VFP == true
|
2009-12-17 21:50:58 +01:00
|
|
|
|
2009-03-04 04:32:55 +01:00
|
|
|
endif # TARGET_ARCH == arm
|