Commits

Cody Schafer  committed d49a486

drop patches

  • Participants
  • Parent commits 5cbec87

Comments (0)

Files changed (7)

File allow-gcc-extra-options-in-baremetal

-# HG changeset patch
-# Parent 2cc5b5a97e93a0f28a5801b3da34dc00aea74bba
-Allow CC_EXTRA_CONFIG_ARRAY on baremetal
-
-diff --git a/config/cc/gcc.in.2 b/config/cc/gcc.in.2
---- a/config/cc/gcc.in.2
-+++ b/config/cc/gcc.in.2
-@@ -29,7 +29,6 @@
-     string
-     prompt "gcc extra config"
-     default ""
--    depends on ! BARE_METAL
-     help
-       Extra flags to pass onto ./configure when configuring gcc.
-       

File arch-float-auto

-# HG changeset patch
-# Parent 782051b16ef832a4a5a800571fa5a53f4a9f9370
-Add an ARCH_FLOAT_AUTO option to avoid passing float options to gcc and allow it to choose
-
-diff --git a/config/target.in b/config/target.in
---- a/config/target.in
-+++ b/config/target.in
-@@ -296,6 +296,15 @@
-     prompt "Floating point:"
-     depends on ARCH_SUPPORTS_WITH_FLOAT
- 
-+config ARCH_FLOAT_AUTO
-+    bool
-+    prompt "auto (let gcc decide)"
-+    help
-+      Instead of explicitly passing a float option, don't
-+      pass any float options and let gcc figure it out.
-+
-+      For multilib configurations, this may help.
-+
- config ARCH_FLOAT_HW
-     bool
-     prompt "hardware (FPU)"
-@@ -364,6 +373,7 @@
- config ARCH_FLOAT
-     string
-     default ""       if ! ARCH_SUPPORTS_WITH_FLOAT
-+    default "auto"   if ARCH_FLOAT_AUTO
-     default "hard"   if ARCH_FLOAT_HW
-     default "soft"   if ARCH_FLOAT_SW
-     default "softfp" if ARCH_FLOAT_SOFTFP

File gcc-4.9.patch

-# HG changeset patch
-# Parent 4bebd1293667dab722ff4ddc395232a1642fa31e
-gcc: add 4.9.0
-
-Signed-off-by: Cody P Schafer <dev@codyps.com>
-
-diff --git a/config/cc/gcc.in b/config/cc/gcc.in
---- a/config/cc/gcc.in
-+++ b/config/cc/gcc.in
-@@ -36,6 +36,11 @@
- # Don't remove next line
- # CT_INSERT_VERSION_BELOW
- 
-+config CC_V_4_9_0
-+    bool
-+    prompt "4.9.0"
-+    select CC_GCC_4_9
-+
- config CC_V_linaro_4_8
-     bool
-     prompt "linaro-4.8-2014.01"
-@@ -354,6 +359,23 @@
-     bool
-     select CC_GCC_4_7_or_later
- 
-+config CC_GCC_4_9
-+    bool
-+    select CC_GCC_4_9_or_later
-+    select CC_GCC_USE_GMP_MPFR
-+    select CC_GCC_USE_MPC
-+    select CC_GCC_HAS_GRAPHITE
-+    select CC_GCC_HAS_LTO
-+    select CC_GCC_HAS_PKGVERSION_BUGURL
-+    select CC_GCC_HAS_BUILD_ID
-+    select CC_GCC_HAS_LNK_HASH_STYLE
-+    select CC_GCC_HAS_LIBQUADMATH
-+    select CC_SUPPORT_GOLANG
-+
-+config CC_GCC_4_9_or_later
-+    bool
-+    select CC_GCC_4_8_or_later
-+
- config CC_GCC_latest
-     bool
-     select CC_GCC_4_8_or_later
-@@ -449,6 +471,7 @@
-     string
- # Don't remove next line
- # CT_INSERT_VERSION_STRING_BELOW
-+    default "4.9.0" if CC_V_4_9_0
-     default "linaro-4.8-2014.01" if CC_V_linaro_4_8
-     default "4.8.2" if CC_V_4_8_2
-     default "4.8.1" if CC_V_4_8_1

File gdb-simplify-and-add-7.6.1.patch

-# HG changeset patch
-# Parent 790f8c40b95d478d50de5f440988097cf4ec31ec
-Simplify the GDB dependency logic
-
-diff --git a/config/debug/gdb.in b/config/debug/gdb.in
---- a/config/debug/gdb.in
-+++ b/config/debug/gdb.in
-@@ -42,78 +42,66 @@
- config GDB_V_7_6_1
-     bool
-     prompt "7.6.1"
--    select GDB_7_0_or_later
-     select GDB_7_2_or_later
- 
- config GDB_V_linaro_7_6_2013_05
-     bool
-     prompt "linaro-7.6-2013.05"
-     depends on DEBUG_GDB_SHOW_LINARO
--    select GDB_7_0_or_later
-     select GDB_7_2_or_later
- 
- config GDB_V_7_5_1
-     bool
-     prompt "7.5.1"
--    select GDB_7_0_or_later
-     select GDB_7_2_or_later
- 
- config GDB_V_linaro_7_5_2012_12_1
-     bool
-     prompt "linaro-7.5-2012.12-1"
-     depends on DEBUG_GDB_SHOW_LINARO
--    select GDB_7_0_or_later
-     select GDB_7_2_or_later
- 
- config GDB_V_linaro_7_4_2012_06
-     bool
-     prompt "linaro-7.4-2012.06"
-     depends on DEBUG_GDB_SHOW_LINARO
--    select GDB_7_0_or_later
-     select GDB_7_2_or_later
- 
- config GDB_V_7_4_1
-     bool
-     prompt "7.4.1"
--    select GDB_7_0_or_later
-     select GDB_7_2_or_later
- 
- config GDB_V_7_4
-     bool
-     prompt "7.4"
--    select GDB_7_0_or_later
-     select GDB_7_2_or_later
- 
- config GDB_V_linaro_7_3_2011_12
-     bool
-     prompt "linaro-7.3-2011.12"
-     depends on DEBUG_GDB_SHOW_LINARO
--    select GDB_7_0_or_later
-     select GDB_7_2_or_later
- 
- config GDB_V_7_3_1
-     bool
-     prompt "7.3.1"
--    select GDB_7_0_or_later
-     select GDB_7_2_or_later
- 
- config GDB_V_7_3a
-     bool
-     prompt "7.3a"
--    select GDB_7_0_or_later
-     select GDB_7_2_or_later
- 
- config GDB_V_linaro_7_2_2011_05_0
-     bool
-     prompt "linaro-7.2-2011.05-0"
-     depends on DEBUG_GDB_SHOW_LINARO
--    select GDB_7_0_or_later
-     select GDB_7_2_or_later
- 
- config GDB_V_7_2a
-     bool
-     prompt "7.2a"
--    select GDB_7_0_or_later
-     select GDB_7_2_or_later
- 
- config GDB_V_7_1a
-@@ -139,13 +127,13 @@
-     bool
-     prompt "Custom gdb"
-     depends on EXPERIMENTAL
--    select GDB_7_0_or_later
-     select GDB_7_2_or_later
- 
- endchoice
- 
- config GDB_7_2_or_later
-     bool
-+    select GDB_7_0_or_later
- 
- config GDB_7_0_or_later
-     bool

File multilib-cleanup.patch

-# HG changeset patch
-# Parent ecf8d1933a1573c2cefa8426b77ad1b407b8fa00
-diff --git a/scripts/build/cc/gcc.sh b/scripts/build/cc/gcc.sh
---- a/scripts/build/cc/gcc.sh
-+++ b/scripts/build/cc/gcc.sh
-@@ -792,11 +792,7 @@
-         extra_config+=("--with-system-zlib")
-     fi
- 
--    if [ "${CT_MULTILIB}" = "y" ]; then
--        extra_config+=("--enable-multilib")
--    else
--        extra_config+=("--disable-multilib")
--    fi
-+    [ "${CT_MULTILIB}" != "y" ] && extra_config+=("--disable-multilib")
- 
-     CT_DoLog DEBUG "Extra config passed: '${extra_config[*]}'"
- 
-diff --git a/scripts/build/companion_libs/121-isl.sh b/scripts/build/companion_libs/121-isl.sh
---- a/scripts/build/companion_libs/121-isl.sh
-+++ b/scripts/build/companion_libs/121-isl.sh
-@@ -13,7 +13,7 @@
- # Download ISL
- do_isl_get() {
-     CT_GetFile "isl-${CT_ISL_VERSION}"  \
--        ftp://ftp.linux.student.kuleuven.be/pub/people/skimo/isl/ \
-+        http://isl.gforge.inria.fr/ \
-         http://mirrors.kernel.org/sources.redhat.com/gcc/infrastructure
- }
- 

File powerpc64le.patch

-# HG changeset patch
-# Parent 2e87775139c3429b1ae4f73052498cf85fbdfcbf
-powerpc: add powerpc64le support
-
-Technically, I don't forbid powerpcle support either, but I'm not sure that
-there is any library/compiler support for that at the moment (though the hw
-technically makes it possible).
-
-powerpc64le needs glibc 2.19 and gcc 4.9. I haven't looked into the support
-tools, but at least gdb 7.5 is too old (7.7.1 definitely has support).
-
-Also make powerpc64 non-experimental. It's practically old at this point.
-
-Signed-of-by: Cody P Schafer <dev@codyps.com>
-
-diff --git a/config/arch/powerpc.in b/config/arch/powerpc.in
---- a/config/arch/powerpc.in
-+++ b/config/arch/powerpc.in
-@@ -1,8 +1,10 @@
- # powerpc specific configuration file
- 
- ## select ARCH_SUPPORTS_32
--## select ARCH_SUPPORTS_64 if EXPERIMENTAL
-+## select ARCH_SUPPORTS_64
- ## select ARCH_DEFAULT_32
-+## select ARCH_SUPPORTS_BOTH_ENDIAN
-+## select ARCH_DEFAULT_BE
- ## select ARCH_USE_MMU
- ## select ARCH_SUPPORTS_WITH_ABI
- ## select ARCH_SUPPORTS_WITH_CPU
-diff --git a/scripts/build/arch/powerpc.sh b/scripts/build/arch/powerpc.sh
---- a/scripts/build/arch/powerpc.sh
-+++ b/scripts/build/arch/powerpc.sh
-@@ -3,9 +3,19 @@
- CT_DoArchTupleValues () {
-     # The architecture part of the tuple, override only for 64-bit
-     if [ "${CT_ARCH_64}" = "y" ]; then
--        CT_TARGET_ARCH="powerpc64${CT_ARCH_SUFFIX}"
-+        _64="64"
-+    else
-+        _64=""
-     fi
- 
-+    if [ "${CT_ARCH_ENDIAN}" = big ] ; then
-+        _le=""
-+    else
-+        _le="le"
-+    fi
-+
-+    CT_TARGET_ARCH="powerpc${_64}${_le}${CT_ARCH_SUFFIX}"
-+
-     # Only override values when ABI is not the default
-     case "${CT_ARCH_powerpc_ABI}" in
-         eabi)
-allow-gcc-extra-options-in-baremetal
 multilib-fix.diff
-arch-float-auto
-gdb-simplify-and-add-7.6.1.patch
 test-version.patch
 ppl-update
 ppl-patches
 gcc-pwl-disable
 XXX-install-bashcomp.patch
 ppc64-cfg.patch
-multilib-cleanup.patch
 multilib-libc-fixup.patch
-powerpc64le.patch
-gcc-4.9.patch
 x86-64-uclibc-0.9.33.2-config.patch