summaryrefslogtreecommitdiff
path: root/libubacktrace/arm/Makefile.arch
blob: 53b8c0e211cd84f4d8e16cb27e2b7c4f774d4f06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# 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)