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
|
|
|
|
2013-09-17 19:39:34 +02:00
|
|
|
LTRACE_VERSION = 0.7.3
|
2014-02-03 22:22:53 +01:00
|
|
|
LTRACE_SITE = http://sources.buildroot.net/
|
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_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))
|