Skip to content

Commit

Permalink
gcc: remove version 4.6, it is no longer needed
Browse files Browse the repository at this point in the history
Signed-off-by: Felix Fietkau <[email protected]>

SVN-Revision: 47443
  • Loading branch information
Felix Fietkau committed Nov 10, 2015
1 parent 795cab6 commit f7939f5
Show file tree
Hide file tree
Showing 29 changed files with 3 additions and 1,104 deletions.
2 changes: 1 addition & 1 deletion package/libs/toolchain/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),)

define Package/libatomic/install
$(INSTALL_DIR) $(1)/lib
$(if $(CONFIG_GCC_VERSION_4_6),,$(CP) $(TOOLCHAIN_DIR)/lib/libatomic.so.* $(1)/lib/)
$(CP) $(TOOLCHAIN_DIR)/lib/libatomic.so.* $(1)/lib/
endef

define Package/libgfortran/install
Expand Down
2 changes: 1 addition & 1 deletion rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ HOST_CPPFLAGS:=-I$(STAGING_DIR_HOST)/include -I$(STAGING_DIR_HOST)/usr/include
HOST_CFLAGS:=-O2 $(HOST_CPPFLAGS)
HOST_LDFLAGS:=-L$(STAGING_DIR_HOST)/lib -L$(STAGING_DIR_HOST)/usr/lib

ifeq ($(CONFIG_GCC_VERSION_4_6)$(CONFIG_EXTERNAL_TOOLCHAIN),)
ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),)
TARGET_AR:=$(TARGET_CROSS)gcc-ar
TARGET_RANLIB:=$(TARGET_CROSS)gcc-ranlib
TARGET_NM:=$(TARGET_CROSS)gcc-nm
Expand Down
1 change: 0 additions & 1 deletion toolchain/Config.in
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ menuconfig TARGET_OPTIONS
config USE_MIPS16
bool "Build packages with MIPS16 instructions" if TARGET_OPTIONS
depends on HAS_MIPS16
depends on !GCC_VERSION_4_6
default y
help
If your target CPU does support the MIPS16 instruction set
Expand Down
5 changes: 0 additions & 5 deletions toolchain/gcc/Config.in
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@ choice
help
Select the version of gcc you wish to use.

config GCC_USE_VERSION_4_6_LINARO
select GCC_VERSION_4_6_LINARO
bool "gcc 4.6.x with Linaro enhancements"
depends on !arc

config GCC_USE_VERSION_4_8_LINARO
select GCC_VERSION_4_8_LINARO
bool "gcc 4.8.x with Linaro enhancements"
Expand Down
11 changes: 1 addition & 10 deletions toolchain/gcc/Config.version
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
config GCC_VERSION_4_6_LINARO
default y if (!TOOLCHAINOPTS && TARGET_octeon)
bool

config GCC_VERSION_4_8_LINARO
default y if (!TOOLCHAINOPTS && !(TARGET_octeon || arc))
bool
Expand All @@ -13,14 +9,9 @@ config GCC_VERSION_4_8_ARC
config GCC_VERSION
string
default "5.2.0" if GCC_VERSION_5
default "4.6-linaro" if GCC_VERSION_4_6_LINARO
default "4.8-linaro" if GCC_VERSION_4_8_LINARO
default "arc-2015.06" if GCC_VERSION_4_8_ARC
default "4.6-linaro"

config GCC_VERSION_4_6
bool
default y if GCC_VERSION_4_6_LINARO
default "4.8-linaro"

config GCC_VERSION_4_8
bool
Expand Down
23 changes: 0 additions & 23 deletions toolchain/gcc/patches/4.6-linaro/010-documentation.patch

This file was deleted.

70 changes: 0 additions & 70 deletions toolchain/gcc/patches/4.6-linaro/020-gcc_bug_54295.patch

This file was deleted.

16 changes: 0 additions & 16 deletions toolchain/gcc/patches/4.6-linaro/030-gcc_bug_48403.patch

This file was deleted.

65 changes: 0 additions & 65 deletions toolchain/gcc/patches/4.6-linaro/040-gcc_bug_49696.patch

This file was deleted.

33 changes: 0 additions & 33 deletions toolchain/gcc/patches/4.6-linaro/100-uclibc-conf.patch

This file was deleted.

Loading

0 comments on commit f7939f5

Please sign in to comment.