buildrootschalter/package/ltrace/ltrace.mk
Markos Chandras 014dd9b153 ltrace: Add missing mips->mipsel symlink
Restore missing mips->mipsel symlink. It appears ltrace was
packaged incorrectly and the symlink got lost. See
http://lists.alioth.debian.org/pipermail/ltrace-devel/2013-August/000938.html

[Peter: add a comment explaining why]
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-08-30 14:09:45 +02:00

35 lines
986 B
Makefile

################################################################################
#
# ltrace
#
################################################################################
LTRACE_VERSION = 0.7.2
LTRACE_SITE = http://alioth.debian.org/frs/download.php/file/3848
LTRACE_SOURCE = ltrace-$(LTRACE_VERSION).tar.bz2
LTRACE_DEPENDENCIES = libelf
LTRACE_AUTORECONF = YES
LTRACE_CONF_OPT = --disable-werror
LTRACE_LICENSE = GPLv2
LTRACE_LICENSE_FILES = COPYING
# symlink missing from tarball
define LTRACE_MIPS_SYMLINK
cd $(@D)/sysdeps/linux-gnu; ln -sf mipsel mips
endef
LTRACE_POST_EXTRACT_HOOKS += LTRACE_MIPS_SYMLINK
# 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
$(eval $(autotools-package))