The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / ltrace / ltrace.mk
1 ################################################################################
2 #
3 # ltrace
4 #
5 ################################################################################
6
7 LTRACE_VERSION = 0896ce554f80afdcba81d9754f6104f863dea803
8 LTRACE_SITE = git://anonscm.debian.org/collab-maint/ltrace.git
9 LTRACE_DEPENDENCIES = elfutils
10 LTRACE_CONF_OPTS = --disable-werror
11 LTRACE_LICENSE = GPLv2
12 LTRACE_LICENSE_FILES = COPYING
13 LTRACE_AUTORECONF = YES
14
15 define LTRACE_CREATE_CONFIG_M4
16         mkdir -p $(@D)/config/m4
17 endef
18 LTRACE_POST_PATCH_HOOKS += LTRACE_CREATE_CONFIG_M4
19
20 # ltrace can use libunwind only if libc has backtrace() support
21 # We don't normally do so for uClibc and we can't know if it's external
22 ifeq ($(BR2_PACKAGE_LIBUNWIND),y)
23 ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),)
24 # --with-elfutils only selects unwinding support backend. elfutils is a
25 # mandatory dependency regardless.
26 LTRACE_CONF_OPTS += --with-libunwind=yes --with-elfutils=no
27 LTRACE_DEPENDENCIES += libunwind
28 else
29 LTRACE_CONF_OPTS += --with-libunwind=no
30 endif
31 endif
32
33 $(eval $(autotools-package))