Skip to content

Commit

Permalink
build: remove GCC7 support
Browse files Browse the repository at this point in the history
The development branch is now on version 10, we shouldn't drag to many
old versions and therefore drop at least 7.x.

Signed-off-by: Paul Spooren <[email protected]>
Acked-by: Rosen Penev <[email protected]>
Acked-by: Rui Salvaterra <[email protected]>
Acked-by: Hauke Mehrtens <[email protected]>
Acked-by: Aleksander Jan Bajkowski <[email protected]>
  • Loading branch information
aparcar committed Sep 19, 2021
1 parent 244847d commit 62ed1af
Show file tree
Hide file tree
Showing 26 changed files with 1 addition and 1,252 deletions.
6 changes: 1 addition & 5 deletions rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -138,11 +138,7 @@ else
endif

ifeq ($(or $(CONFIG_EXTERNAL_TOOLCHAIN),$(CONFIG_TARGET_uml)),)
ifeq ($(CONFIG_GCC_USE_IREMAP),y)
iremap = -iremap$(1):$(2)
else
iremap = -f$(if $(CONFIG_REPRODUCIBLE_DEBUG_INFO),file,macro)-prefix-map=$(1)=$(2)
endif
iremap = -f$(if $(CONFIG_REPRODUCIBLE_DEBUG_INFO),file,macro)-prefix-map=$(1)=$(2)
endif

PACKAGE_DIR:=$(BIN_DIR)/packages
Expand Down
4 changes: 0 additions & 4 deletions toolchain/gcc/Config.in
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ choice
help
Select the version of gcc you wish to use.

config GCC_USE_VERSION_7
bool "gcc 7.x"
depends on !arc

config GCC_USE_VERSION_8
bool "gcc 8.x"

Expand Down
10 changes: 0 additions & 10 deletions toolchain/gcc/Config.version
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
config GCC_VERSION_7
default y if GCC_USE_VERSION_7
bool

config GCC_VERSION_8
default y if GCC_USE_VERSION_8
bool
Expand All @@ -12,12 +8,6 @@ config GCC_VERSION_11

config GCC_VERSION
string
default "7.5.0" if GCC_VERSION_7
default "8.4.0" if GCC_VERSION_8
default "11.2.0" if GCC_VERSION_11
default "10.3.0"

config GCC_USE_IREMAP
bool
default y if GCC_USE_VERSION_7
default n
4 changes: 0 additions & 4 deletions toolchain/gcc/common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@ GCC_DIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_URL:=@GNU/gcc/gcc-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz

ifeq ($(PKG_VERSION),7.5.0)
PKG_HASH:=b81946e7f01f90528a1f7352ab08cc602b9ccc05d4e44da4bd501c5a189ee661
endif

ifeq ($(PKG_VERSION),8.4.0)
PKG_HASH:=e30a6e52d10e1f27ed55104ad233c30bd1e99cfb5ff98ab022dc941edd1b2dd4
endif
Expand Down
77 changes: 0 additions & 77 deletions toolchain/gcc/patches/7.5.0/001-revert_register_mode_search.patch

This file was deleted.

24 changes: 0 additions & 24 deletions toolchain/gcc/patches/7.5.0/002-case_insensitive.patch

This file was deleted.

35 changes: 0 additions & 35 deletions toolchain/gcc/patches/7.5.0/010-documentation.patch

This file was deleted.

20 changes: 0 additions & 20 deletions toolchain/gcc/patches/7.5.0/110-Fix-MIPS-PR-84790.patch

This file was deleted.

28 changes: 0 additions & 28 deletions toolchain/gcc/patches/7.5.0/230-musl_libssp.patch

This file was deleted.

21 changes: 0 additions & 21 deletions toolchain/gcc/patches/7.5.0/300-mips_Os_cpu_rtx_cost_model.patch

This file was deleted.

32 changes: 0 additions & 32 deletions toolchain/gcc/patches/7.5.0/800-arm_v5te_no_ldrd_strd.patch

This file was deleted.

33 changes: 0 additions & 33 deletions toolchain/gcc/patches/7.5.0/810-arm-softfloat-libgcc.patch

This file was deleted.

44 changes: 0 additions & 44 deletions toolchain/gcc/patches/7.5.0/820-libgcc_pic.patch

This file was deleted.

Loading

0 comments on commit 62ed1af

Please sign in to comment.