summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-4.8/0023-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2015-11-11 08:50:02 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-11-16 14:59:18 +0000
commitd9aabf9639510fdb3e2ccc21ba5ae4aa9f6e4a57 (patch)
treeecd46c579d347fa45d22cc0fc6aaa2904d41b6a8 /meta/recipes-devtools/gcc/gcc-4.8/0023-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch
parent2cb1aee04840e9ed7dc4a4952e8d883eda1feb90 (diff)
downloadpoky-d9aabf9639510fdb3e2ccc21ba5ae4aa9f6e4a57.tar.gz
gcc: Drop 4.8
We have 5.2 and 4.9, we don't really need 4.8 now and it can be moved out to other layers if anyone still wants/needs it. (From OE-Core rev: 6f98c39418c60b7c0b25b30983d2e5257158a6a4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-4.8/0023-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch')
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.8/0023-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch88
1 files changed, 0 insertions, 88 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.8/0023-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch b/meta/recipes-devtools/gcc/gcc-4.8/0023-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch
deleted file mode 100644
index 9e4435cf59..0000000000
--- a/meta/recipes-devtools/gcc/gcc-4.8/0023-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch
+++ /dev/null
@@ -1,88 +0,0 @@
1From 46d52439052f0876a92dcf8a0ab9c60d75c8030b Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 29 Mar 2013 09:17:25 +0400
4Subject: [PATCH 23/35] Use the defaults.h in ${B} instead of ${S}, and t-oe
5 in ${B}
6
7Use the defaults.h in ${B} instead of ${S}, and t-oe in ${B}, so that
8the source can be shared between gcc-cross-initial,
9gcc-cross-intermediate, gcc-cross, gcc-runtime, and also the sdk build.
10
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12
13Upstream-Status: Pending
14---
15 gcc/Makefile.in | 2 +-
16 gcc/configure | 4 ++--
17 gcc/configure.ac | 4 ++--
18 gcc/mkconfig.sh | 4 ++--
19 4 files changed, 7 insertions(+), 7 deletions(-)
20
21diff --git a/gcc/Makefile.in b/gcc/Makefile.in
22index 90a2bba..2320497 100644
23--- a/gcc/Makefile.in
24+++ b/gcc/Makefile.in
25@@ -469,7 +469,7 @@ TARGET_SYSTEM_ROOT = @TARGET_SYSTEM_ROOT@
26 TARGET_SYSTEM_ROOT_DEFINE = @TARGET_SYSTEM_ROOT_DEFINE@
27
28 xmake_file=@xmake_file@
29-tmake_file=@tmake_file@
30+tmake_file=@tmake_file@ ./t-oe
31 TM_ENDIAN_CONFIG=@TM_ENDIAN_CONFIG@
32 TM_MULTILIB_CONFIG=@TM_MULTILIB_CONFIG@
33 TM_MULTILIB_EXCEPTIONS_CONFIG=@TM_MULTILIB_EXCEPTIONS_CONFIG@
34diff --git a/gcc/configure b/gcc/configure
35index bdab45a..d587993 100755
36--- a/gcc/configure
37+++ b/gcc/configure
38@@ -11539,8 +11539,8 @@ for f in $tm_file; do
39 tm_include_list="${tm_include_list} $f"
40 ;;
41 defaults.h )
42- tm_file_list="${tm_file_list} \$(srcdir)/$f"
43- tm_include_list="${tm_include_list} $f"
44+ tm_file_list="${tm_file_list} ./$f"
45+ tm_include_list="${tm_include_list} ./$f"
46 ;;
47 * )
48 tm_file_list="${tm_file_list} \$(srcdir)/config/$f"
49diff --git a/gcc/configure.ac b/gcc/configure.ac
50index 5f5c909..5e5e84f 100644
51--- a/gcc/configure.ac
52+++ b/gcc/configure.ac
53@@ -1720,8 +1720,8 @@ for f in $tm_file; do
54 tm_include_list="${tm_include_list} $f"
55 ;;
56 defaults.h )
57- tm_file_list="${tm_file_list} \$(srcdir)/$f"
58- tm_include_list="${tm_include_list} $f"
59+ tm_file_list="${tm_file_list} ./$f"
60+ tm_include_list="${tm_include_list} ./$f"
61 ;;
62 * )
63 tm_file_list="${tm_file_list} \$(srcdir)/config/$f"
64diff --git a/gcc/mkconfig.sh b/gcc/mkconfig.sh
65index 29fdfc7..e048dce 100644
66--- a/gcc/mkconfig.sh
67+++ b/gcc/mkconfig.sh
68@@ -77,7 +77,7 @@ if [ -n "$HEADERS" ]; then
69 if [ $# -ge 1 ]; then
70 echo '#ifdef IN_GCC' >> ${output}T
71 for file in "$@"; do
72- if test x"$file" = x"defaults.h"; then
73+ if test x"$file" = x"./defaults.h"; then
74 postpone_defaults_h="yes"
75 else
76 echo "# include \"$file\"" >> ${output}T
77@@ -103,7 +103,7 @@ esac
78
79 # If we postponed including defaults.h, add the #include now.
80 if test x"$postpone_defaults_h" = x"yes"; then
81- echo "# include \"defaults.h\"" >> ${output}T
82+ echo "# include \"./defaults.h\"" >> ${output}T
83 fi
84
85 # Add multiple inclusion protection guard, part two.
86--
871.7.10.4
88