diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2009-01-02 20:31:01 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2009-01-02 20:31:01 +0000 |
commit | 3db839986d264948700322b8d27c6d99b0c7d6f4 (patch) | |
tree | 1d138821946493ed760a888db8ff7a276ac01ba8 /toolchain/export-toolchain | |
parent | 31de8c37dacbc798a0e94606192818ff02686153 (diff) | |
download | buildroot-novena-3db839986d264948700322b8d27c6d99b0c7d6f4.tar.gz buildroot-novena-3db839986d264948700322b8d27c6d99b0c7d6f4.zip |
toolchain: revert "Allow creating a script for external use of Buildroot toolchain"
It's been 10 days now without any reply from Ulf, so revert r24480+r24481.
Diffstat (limited to 'toolchain/export-toolchain')
-rw-r--r-- | toolchain/export-toolchain/Config.in | 8 | ||||
-rw-r--r-- | toolchain/export-toolchain/Makefile.in | 29 |
2 files changed, 0 insertions, 37 deletions
diff --git a/toolchain/export-toolchain/Config.in b/toolchain/export-toolchain/Config.in deleted file mode 100644 index 1de8dcb5b..000000000 --- a/toolchain/export-toolchain/Config.in +++ /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 index 38fea95e9..000000000 --- a/toolchain/export-toolchain/Makefile.in +++ /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 - |