toolchain: drop BR2_CROSS_TOOLCHAIN_TARGET_UTILS option
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Tue, 28 Dec 2010 19:10:35 +0000 (16:10 -0300)
committerPeter Korsgaard <jacmet@sunsite.dk>
Wed, 29 Dec 2010 22:14:48 +0000 (23:14 +0100)
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>
configs/arm_nptl_toolchain_defconfig
configs/arm_toolchain_defconfig
package/strace/strace.mk
target/xtensa/defconfig
toolchain/toolchain-buildroot/Config.in.2
toolchain/uClibc/uclibc.mk

index 99c526e592f5524638bc72f34197eead8c8e5bff..1bb1193f742a424b68a4805d59ad9bef08e29950 100644 (file)
@@ -10,7 +10,6 @@ BR2_ENABLE_LOCALE=y
 BR2_USE_WCHAR=y
 BR2_PTHREADS_NATIVE=y
 BR2_INSTALL_LIBSTDCPP=y
-BR2_CROSS_TOOLCHAIN_TARGET_UTILS=y
 
 # No package
 # BR2_PACKAGE_BUSYBOX is not set
index 455564cdd18af87a813923d43d36c910a1629240..e46c5c9ef58445a2b50a340387666928c7e07ba4 100644 (file)
@@ -8,7 +8,6 @@ BR2_INET_RPC=y
 BR2_ENABLE_LOCALE=y
 BR2_USE_WCHAR=y
 BR2_INSTALL_LIBSTDCPP=y
-BR2_CROSS_TOOLCHAIN_TARGET_UTILS=y
 
 # No package
 # BR2_PACKAGE_BUSYBOX is not set
index f4a52bc40c864c274124d7a58df87921abcbde9e..85e82c1e6c3bc141d582e44efcf7aa2d91bad15c 100644 (file)
@@ -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))
index 200ff21699e3d316e8395f4f80e8d55e79319b70..0eee5c0f574f1e4ecaca8680d5c2aa0212e375c6 100644 (file)
@@ -80,7 +80,6 @@ BR2_GDB_VERSION="6.8"
 BR2_LARGEFILE=y
 BR2_INET_RPC=y
 BR2_TARGET_OPTIMIZATION="-Os -pipe"
-BR2_CROSS_TOOLCHAIN_TARGET_UTILS=y
 
 
 ## Added by Maxim
index 6a383f639307cf38cdbda370edf93a177af282a0..3fd433ac447294638f40fdc4165725689176369f 100644 (file)
@@ -118,16 +118,4 @@ config BR2_VFP_FLOAT
 
          Most people will answer N.
 
-config BR2_CROSS_TOOLCHAIN_TARGET_UTILS
-       bool "Include target utils in cross toolchain"
-       default y
-       help
-         When using buildroot to build a deployable cross toolchain,
-         it is handy to include certain target apps with that toolchain
-         as a convenience.
-         Examples include ldd, gdbserver, and strace.
-
-         Answer Y if you want these apps (if built) copied into the
-         cross toolchain dir under <arch>-linux-uclibc/target_utils/.
-
 endif
index ec928243cbb85d1e40f058132dd9105ad739d768..a677be7a46d577e65ccaa00ef015a57a6809290e 100644 (file)
@@ -479,11 +479,6 @@ $(TARGET_DIR)/usr/bin/ldd: $(cross_compiler)
                CPP=$(TARGET_CROSS)cpp LD=$(TARGET_CROSS)ld \
                ARCH="$(UCLIBC_TARGET_ARCH)" \
                PREFIX=$(TARGET_DIR) utils install_utils
-ifeq ($(BR2_CROSS_TOOLCHAIN_TARGET_UTILS),y)
-       mkdir -p $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/target_utils
-       install -c $(TARGET_DIR)/usr/bin/ldd \
-               $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/target_utils/ldd
-endif
        touch -c $@
 
 ifneq ($(BR2_PREFER_STATIC_LIB),y)