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
|
|
|
|
2014-07-24 23:59:21 +02:00
|
|
|
LTRACE_VERSION = 0896ce554f80afdcba81d9754f6104f863dea803
|
|
|
|
LTRACE_SITE = git://anonscm.debian.org/collab-maint/ltrace.git
|
2014-08-28 14:21:31 +02:00
|
|
|
LTRACE_DEPENDENCIES = elfutils
|
2012-12-03 05:46:12 +01:00
|
|
|
LTRACE_CONF_OPT = --disable-werror
|
|
|
|
LTRACE_LICENSE = GPLv2
|
|
|
|
LTRACE_LICENSE_FILES = COPYING
|
2014-07-24 23:59:21 +02:00
|
|
|
LTRACE_AUTORECONF = YES
|
|
|
|
|
|
|
|
define LTRACE_CREATE_CONFIG_M4
|
|
|
|
mkdir -p $(@D)/config/m4
|
|
|
|
endef
|
|
|
|
LTRACE_POST_PATCH_HOOKS += LTRACE_CREATE_CONFIG_M4
|
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))
|