2002-05-23 21:21:23 +02:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# strace
|
|
|
|
#
|
|
|
|
#############################################################
|
2008-10-20 11:04:49 +02:00
|
|
|
STRACE_VERSION:=4.5.18
|
2007-07-11 16:06:06 +02:00
|
|
|
STRACE_SOURCE:=strace-$(STRACE_VERSION).tar.bz2
|
2005-06-09 14:15:00 +02:00
|
|
|
STRACE_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/strace
|
2008-12-01 14:49:23 +01:00
|
|
|
STRACE_AUTORECONF:=NO
|
2008-08-04 21:07:41 +02:00
|
|
|
STRACE_INSTALL_STAGING:=NO
|
|
|
|
STRACE_INSTALL_TARGET:=YES
|
2002-05-23 21:21:23 +02:00
|
|
|
|
2008-08-04 21:07:41 +02:00
|
|
|
STRACE_CONF_ENV:= ac_cv_header_linux_if_packet_h=yes \
|
|
|
|
ac_cv_header_linux_netlink_h=yes \
|
|
|
|
$(if $(BR2_LARGEFILE),ac_cv_type_stat64=yes,ac_cv_type_stat64=no)
|
2002-05-23 21:21:23 +02:00
|
|
|
|
2008-08-04 21:07:41 +02:00
|
|
|
$(eval $(call AUTOTARGETS,package,strace))
|
2003-01-17 09:03:59 +01:00
|
|
|
|
2008-08-04 21:07:41 +02:00
|
|
|
$(STRACE_HOOK_POST_INSTALL): $(STRACE_TARGET_INSTALL_TARGET)
|
|
|
|
$(STRIPCMD) $(STRIP_STRIP_ALL) $(TARGET_DIR)/usr/bin/strace
|
|
|
|
rm -f $(TARGET_DIR)/usr/bin/strace-graph
|
2008-12-08 09:15:27 +01:00
|
|
|
ifeq ($(BR2_CROSS_TOOLCHAIN_TARGET_UTILS),y)
|
2009-01-30 14:34:42 +01:00
|
|
|
mkdir -p $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/target_utils
|
2005-08-04 05:49:25 +02:00
|
|
|
install -c $(TARGET_DIR)/usr/bin/strace \
|
2009-01-30 14:34:42 +01:00
|
|
|
$(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/target_utils/strace
|
2005-08-04 05:49:25 +02:00
|
|
|
endif
|
2008-08-04 21:07:41 +02:00
|
|
|
touch $@
|