diff options
| author | Brian Carlstrom <bdc@google.com> | 2010-04-06 15:31:23 -0700 |
|---|---|---|
| committer | Brian Carlstrom <bdc@google.com> | 2010-04-06 15:31:23 -0700 |
| commit | a68049a8cc3f1eacda1e27b2040af73f6faa42ab (patch) | |
| tree | 31082e1546f81eb8be2380deab97c59ac51914b8 /debuggerd/Android.mk | |
| parent | b99a099cad7066274b25de9d603e7ced37d20e19 (diff) | |
| parent | 7c19bbe086b3cd81499829c0a79ed0ed0ae4fb16 (diff) | |
| download | system_core-a68049a8cc3f1eacda1e27b2040af73f6faa42ab.tar.gz system_core-a68049a8cc3f1eacda1e27b2040af73f6faa42ab.tar.bz2 system_core-a68049a8cc3f1eacda1e27b2040af73f6faa42ab.zip | |
Merge remote branch 'goog/froyo' into mm
Diffstat (limited to 'debuggerd/Android.mk')
| -rw-r--r-- | debuggerd/Android.mk | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/debuggerd/Android.mk b/debuggerd/Android.mk index b86f2a57..3c1cf024 100644 --- a/debuggerd/Android.mk +++ b/debuggerd/Android.mk @@ -9,6 +9,13 @@ LOCAL_SRC_FILES:= debuggerd.c getevent.c unwind-arm.c pr-support.c utility.c LOCAL_CFLAGS := -Wall LOCAL_MODULE := debuggerd +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 + LOCAL_STATIC_LIBRARIES := libcutils libc include $(BUILD_EXECUTABLE) @@ -23,14 +30,20 @@ LOCAL_MODULE_TAGS := eng LOCAL_SHARED_LIBRARIES := libcutils libc include $(BUILD_EXECUTABLE) -ifeq ($(TARGET_ARCH_VARIANT),armv7-a) +ifeq ($(ARCH_ARM_HAVE_VFP),true) include $(CLEAR_VARS) + +LOCAL_CFLAGS += -DWITH_VFP +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_MODULE := vfp-crasher LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES) LOCAL_MODULE_TAGS := eng LOCAL_SHARED_LIBRARIES := libcutils libc include $(BUILD_EXECUTABLE) -endif # TARGET_ARCH_VARIANT == armv7-a +endif # ARCH_ARM_HAVE_VFP == true endif # TARGET_ARCH == arm |
