1. Cody Schafer
  2. crosstool-ng-pq

Commits

Cody Schafer  committed 9ddbb02

patch cleanup

  • Participants
  • Parent commits a85b032
  • Branches default

Comments (0)

Files changed (8)

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 8fb70c059a6ca0da1d7b70e89c34d1566e743828
-
-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,10 @@
-     bool
-     select CC_GCC_4_7_or_later
- 
-+config CC_GCC_4_9
-+    bool
-+    select CC_GCC_4_8
-+
- config CC_GCC_latest
-     bool
-     select CC_GCC_4_8_or_later
-@@ -449,6 +458,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

View file
 # HG changeset patch
-# Parent 790f8c40b95d478d50de5f440988097cf4ec31ec
+# Parent 75244e4b4c99b680ef482caeaff421d040bb9ddf
 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
+@@ -36,7 +36,6 @@
+ config GDB_V_7_7
      bool
-     prompt "7.6.1"
+     prompt "7.7"
 -    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
+ config GDB_V_7_6_1

File multilib-cleanup.patch

View file
 # 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[*]}'"
- 
+# Parent 56ad4a3fe9fe0f65d3b71deaf2b8ab397de7d878
+
 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

File powerpc64le.patch

-# HG changeset patch
-# Parent 54f6cffe04b860a08240756bf27e87d9a9d8b4ec
-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)

File reinstall-script

View file
+# HG changeset patch
+# Parent 7073bbbb77ab2cdd94c4463d2bfb2a7d33fc789d
+
+diff --git a/reinstall b/reinstall
+new file mode 100755
+--- /dev/null
++++ b/reinstall
+@@ -0,0 +1,10 @@
++#! /bin/sh
++H="$(dirname "$0")"
++I="$HOME/x-tools/ct-ng"
++
++rm -rf "$I" &&
++$H/bootstrap &&
++$H/configure --prefix="$I" &&
++make &&
++make install
++

File series

View file
-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
 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
+reinstall-script