diff options
author | Khem Raj <raj.khem@gmail.com> | 2012-01-21 05:59:49 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2012-01-23 16:10:39 -0800 |
commit | a0d7a4587584b1c217183d7f17a2d55ab44aaf3a (patch) | |
tree | eb501879d7ba3c8a3c65e2db8604ea587ed811c5 /libubacktrace/arm/Makefile.arch | |
parent | bee3ea0f5a8d2cc2cfaeebdc4ef65f2d6b30b749 (diff) |
libubacktrace: Add arm implementation
Arm has a different mechanism of getting
_Unwind_GetIP. Therefore we provide arch
specific backtrace file.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'libubacktrace/arm/Makefile.arch')
-rw-r--r-- | libubacktrace/arm/Makefile.arch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/libubacktrace/arm/Makefile.arch b/libubacktrace/arm/Makefile.arch new file mode 100644 index 000000000..dab36378e --- /dev/null +++ b/libubacktrace/arm/Makefile.arch @@ -0,0 +1,21 @@ +# Makefile for uClibc (libubacktrace) +# +# Author: Khem Raj <raj.khem@gmail.com> + +# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. +# + +libubacktrace_ARCH_SRC-$(UCLIBC_HAS_BACKTRACE) := backtrace.c +libubacktrace_ARCH_SRCS := $(addprefix $(libubacktrace_ARCH_DIR)/,$(libubacktrace_ARCH_SRC-y)) +libubacktrace_ARCH_OBJS := $(patsubst $(libubacktrace_ARCH_DIR)/%.c,$(libubacktrace_ARCH_OUT)/%.o,$(libubacktrace_ARCH_SRCS)) + +ifeq ($(DOPIC),y) +libubacktrace-a-y+=$(libubacktrace_ARCH_OBJS:.o=.os) +else +libubacktrace-a-y+=$(libubacktrace_ARCH_OBJS) +endif +libubacktrace-so-y+=$(libubacktrace_ARCH_OBJS:.o=.os) + +ifeq ($(CONFIG_ARM_EABI),y) +LIBGCC += $(shell $(CC) -print-file-name=libgcc_eh.a) +endif |