0577bcb06f
This improve the reproducible build. Signed-off-by: Romain Naour <romain.naour@gmail.com> [Thomas: mention the libunwind dependency as being needed for 'strace -k' in the Config.in help text, as suggested by Thomas De Schampheleire.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
28 lines
736 B
Makefile
28 lines
736 B
Makefile
################################################################################
|
|
#
|
|
# strace
|
|
#
|
|
################################################################################
|
|
|
|
STRACE_VERSION = 4.21
|
|
STRACE_SOURCE = strace-$(STRACE_VERSION).tar.xz
|
|
STRACE_SITE = https://strace.io/files/$(STRACE_VERSION)
|
|
STRACE_LICENSE = BSD-3-Clause
|
|
STRACE_LICENSE_FILES = COPYING
|
|
STRACE_CONF_OPTS = --enable-mpers=check
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBUNWIND),y)
|
|
STRACE_DEPENDENCIES += libunwind
|
|
STRACE_CONF_OPTS += --with-libunwind
|
|
else
|
|
STRACE_CONF_OPTS += --without-libunwind
|
|
endif
|
|
|
|
define STRACE_REMOVE_STRACE_GRAPH
|
|
rm -f $(TARGET_DIR)/usr/bin/strace-graph
|
|
endef
|
|
|
|
STRACE_POST_INSTALL_TARGET_HOOKS += STRACE_REMOVE_STRACE_GRAPH
|
|
|
|
$(eval $(autotools-package))
|