summaryrefslogtreecommitdiffstats
path: root/package/strace/strace.mk
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2010-12-28 16:10:35 -0300
committerPeter Korsgaard <jacmet@sunsite.dk>2010-12-29 23:14:48 +0100
commit17dfec8c9b92824544ba6e4e9d0e23614e2347ba (patch)
treefd9dfe168c16ef86e2847954acde0c6cd9b7069b /package/strace/strace.mk
parent74058758e4165dbef1d8f1d446cce0d9fb27a955 (diff)
downloadbuildroot-novena-17dfec8c9b92824544ba6e4e9d0e23614e2347ba.tar.gz
buildroot-novena-17dfec8c9b92824544ba6e4e9d0e23614e2347ba.zip
toolchain: drop BR2_CROSS_TOOLCHAIN_TARGET_UTILS option
It's really not very useful, all it does is install a target strace and ldd in a target_utils directory in staging. While at it clean up the strace makefile a bit. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/strace/strace.mk')
-rw-r--r--package/strace/strace.mk22
1 files changed, 5 insertions, 17 deletions
diff --git a/package/strace/strace.mk b/package/strace/strace.mk
index f4a52bc40..85e82c1e6 100644
--- a/package/strace/strace.mk
+++ b/package/strace/strace.mk
@@ -3,14 +3,12 @@
# strace
#
#############################################################
-STRACE_VERSION:=4.5.20
-STRACE_SOURCE:=strace-$(STRACE_VERSION).tar.bz2
-STRACE_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/strace
-STRACE_AUTORECONF:=NO
-STRACE_INSTALL_STAGING:=NO
-STRACE_INSTALL_TARGET:=YES
-STRACE_CONF_ENV:= ac_cv_header_linux_if_packet_h=yes \
+STRACE_VERSION = 4.5.20
+STRACE_SOURCE = strace-$(STRACE_VERSION).tar.bz2
+STRACE_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/strace
+
+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)
@@ -20,14 +18,4 @@ endef
STRACE_POST_INSTALL_TARGET_HOOKS += STRACE_REMOVE_STRACE_GRAPH
-define STRACE_INSTALL_TOOLCHAIN_TARGET_UTILS
- mkdir -p $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/target_utils
- install -c $(TARGET_DIR)/usr/bin/strace \
- $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/target_utils/strace
-endef
-
-ifeq ($(BR2_CROSS_TOOLCHAIN_TARGET_UTILS),y)
-STRACE_POST_INSTALL_TARGET_HOOKS += STRACE_INSTALL_TOOLCHAIN_TARGET_UTILS
-endif
-
$(eval $(call AUTOTARGETS,package,strace))