2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2004-02-11 07:44:47 +01:00
|
|
|
#
|
|
|
|
# ltrace
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-12-03 05:46:12 +01:00
|
|
|
|
2012-12-09 04:57:36 +01:00
|
|
|
LTRACE_VERSION = 0.7.2
|
2013-06-13 14:59:57 +02:00
|
|
|
LTRACE_SITE = http://alioth.debian.org/frs/download.php/file/3848
|
2012-12-03 05:46:12 +01:00
|
|
|
LTRACE_SOURCE = ltrace-$(LTRACE_VERSION).tar.bz2
|
2010-07-25 16:53:49 +02:00
|
|
|
LTRACE_DEPENDENCIES = libelf
|
2012-12-03 05:46:12 +01:00
|
|
|
LTRACE_AUTORECONF = YES
|
|
|
|
LTRACE_CONF_OPT = --disable-werror
|
|
|
|
LTRACE_LICENSE = GPLv2
|
|
|
|
LTRACE_LICENSE_FILES = COPYING
|
2004-02-11 07:44:47 +01:00
|
|
|
|
2013-08-12 20:02:42 +02:00
|
|
|
# ltrace can use libunwind only if libc has backtrace() support
|
|
|
|
# We don't normally do so for uClibc and we can't know if it's external
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBUNWIND),y)
|
|
|
|
ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),)
|
|
|
|
LTRACE_CONF_OPT += --with-libunwind=yes
|
|
|
|
LTRACE_DEPENDENCIES += libunwind
|
|
|
|
else
|
|
|
|
LTRACE_CONF_OPT += --with-libunwind=no
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|