2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2002-05-23 21:21:23 +02:00
|
|
|
#
|
|
|
|
# strace
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2002-05-23 21:21:23 +02:00
|
|
|
|
2016-12-18 14:43:05 +01:00
|
|
|
STRACE_VERSION = 4.15
|
2012-09-28 00:43:16 +02:00
|
|
|
STRACE_SOURCE = strace-$(STRACE_VERSION).tar.xz
|
2012-08-26 01:52:48 +02:00
|
|
|
STRACE_SITE = http://downloads.sourceforge.net/project/strace/strace/$(STRACE_VERSION)
|
2012-11-13 02:05:58 +01:00
|
|
|
STRACE_LICENSE = BSD-3c
|
2013-06-10 18:26:58 +02:00
|
|
|
STRACE_LICENSE_FILES = COPYING
|
2010-12-28 20:10:35 +01:00
|
|
|
|
2016-11-12 16:30:12 +01:00
|
|
|
# strace bundle some kernel headers to build libmpers, this mixes userspace
|
|
|
|
# headers and kernel headers which break the build with musl.
|
|
|
|
# The stddef.h from gcc is used instead of the one from musl.
|
|
|
|
ifeq ($(BR2_TOOLCHAIN_USES_MUSL),y)
|
|
|
|
STRACE_CONF_OPTS += st_cv_m32_mpers=no \
|
|
|
|
st_cv_mx32_mpers=no
|
|
|
|
endif
|
|
|
|
|
2010-09-02 00:16:19 +02:00
|
|
|
define STRACE_REMOVE_STRACE_GRAPH
|
2008-08-04 21:07:41 +02:00
|
|
|
rm -f $(TARGET_DIR)/usr/bin/strace-graph
|
2010-09-02 00:16:19 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
STRACE_POST_INSTALL_TARGET_HOOKS += STRACE_REMOVE_STRACE_GRAPH
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|