toolchain: revert "Allow creating a script for external use of Buildroot toolchain"
authorPeter Korsgaard <jacmet@sunsite.dk>
Fri, 2 Jan 2009 20:31:01 +0000 (20:31 -0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Fri, 2 Jan 2009 20:31:01 +0000 (20:31 -0000)
It's been 10 days now without any reply from Ulf, so revert r24480+r24481.

toolchain/Config.in
toolchain/Makefile.in
toolchain/export-toolchain/Config.in [deleted file]
toolchain/export-toolchain/Makefile.in [deleted file]
toolchain/uClibc/Config.in

index b0eb85daca55e0fb9d01f12730504da521da4908..d66ce1d38a82531e200f35b8914a2a5cf2df0b86 100644 (file)
@@ -26,8 +26,6 @@ config BR2_TOOLCHAIN_SOURCE
        default y if BR2_TOOLCHAIN_BUILDROOT || BR2_TOOLCHAIN_EXTERNAL_SOURCE
        default n if BR2_TOOLCHAIN_EXTERNAL
 
-source "toolchain/export-toolchain/Config.in"
-
 source "target/device/Config.in.toolchain"
 
 source "toolchain/Config.in.1"
index 8469baccfd2ba525a7cd559190ce66d25254739a..d312b564283fc110c568dd21f7a771a8f1c11c50 100644 (file)
@@ -46,5 +46,3 @@ CFLAGS_COMBINE = $(call cc-option,-combine,)
 
 # gcc has a bunch of needed stuff....
 include toolchain/gcc/Makefile.in
-# breaks the build
-#include toolchain/export-toolchain/Makefile.in
diff --git a/toolchain/export-toolchain/Config.in b/toolchain/export-toolchain/Config.in
deleted file mode 100644 (file)
index 1de8dcb..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-config BR2_EXPORT_TOOLCHAIN
-       bool "Create script exporting toolchain to home directory"
-       default n
-       help
-         This will generate a batchfile which, if run
-         will add the Buildroot toolchain to the user PATH
-         The file is called "$(ARCH)-uclibc-gcc-$(GCC_VERSION).sh"
-
diff --git a/toolchain/export-toolchain/Makefile.in b/toolchain/export-toolchain/Makefile.in
deleted file mode 100644 (file)
index 38fea95..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-# This generates a script which exports the toolchain
-# using a shell script
-
-GCC_SCRIPT:=$(ARCH)-uclibc-gcc-$(GCC_VERSION).sh
-GCC_SCRIPT_TEMP:=$(BINARIES_DIR)/$(GCC_SCRIPT)
-
-~/$(GCC_SCRIPT): cross_compiler
-       @echo   "#!/bin/sh"                                             >       $(GCC_SCRIPT_TEMP)
-       @echo   "# $(ARCH) cross compiler toolchain created $(DATE)"    >>      $(GCC_SCRIPT_TEMP)
-       @echo   "# gcc-$(GCC_VERSION)"                                  >>      $(GCC_SCRIPT_TEMP)
-       @echo   "# binutils-$(BINUTILS_VERSION)"                        >>      $(GCC_SCRIPT_TEMP)
-       @echo   "# uClibc-$(UCLIBC_VERSION)"                            >>      $(GCC_SCRIPT_TEMP)
-       @echo   "export GCCROOT=$(STAGING_DIR)/usr"                     >>      $(GCC_SCRIPT_TEMP)
-       @echo   "export PATH=\$$PATH:\$$GCCROOT/bin"                    >>      $(GCC_SCRIPT_TEMP)
-       @echo   "export CROSS_COMPILE=$(REAL_GNU_TARGET_NAME)-"         >>      $(GCC_SCRIPT_TEMP)
-       @chmod  a+x $(GCC_SCRIPT_TEMP)
-       @cp     $(GCC_SCRIPT_TEMP) ~/$(GCC_SCRIPT)
-       @cat    ~/$(GCC_SCRIPT)
-
-export-toolchain: ~/$(GCC_SCRIPT)
-
-export-toolchain-clean:
-       rm      -f ~/$(GCC_SCRIPT)
-       rm      -f $(GCC_SCRIPT_TEMP)
-
-ifeq ($(BR2_EXPORT_TOOLCHAIN),y)
-TARGETS+=export-toolchain
-endif
-
index fac4dfa0d993b129d4a11cb32d88c41eb968ad49..254c33e434454f5b5733fc1b5850590589562497 100644 (file)
@@ -27,12 +27,6 @@ choice
 
 endchoice
 
-config UCLIBC_VERSION
-       string
-       default "0.9.28.3"      if BR2_UCLIBC_VERSION_0_9_28_3
-       default "0.9.29"        if BR2_UCLIBC_VERSION_0_9_29
-       default "0.9.30"        if BR2_UCLIBC_VERSION_0_9_30
-       default "snapshot"      if BR2_UCLIBC_VERSION_SNAPSHOT
 
 config BR2_USE_UCLIBC_SNAPSHOT
        string "Date (yyyymmdd) of snapshot or 'snapshot' for latest"