summaryrefslogtreecommitdiff
path: root/util/crossgcc/patches
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@google.com>2021-10-16 10:50:00 +0200
committerPatrick Georgi <pgeorgi@google.com>2021-11-01 16:26:50 +0000
commitf32eed1695da64e1fb5d694ed4d038a58e94440c (patch)
treeed46d61b206921ab4feb7fa0085920260689ecec /util/crossgcc/patches
parentb5b22a74a6b7708e0d5e2a794d6a2f3d141198fd (diff)
buildgcc: Remove GDB from crossgcc
It was added for a specific defunct project by a specific defunct company. Change-Id: Ib56ae0fdc1a50d24ff44c7879c43f8e94a5bfa95 Signed-off-by: Patrick Georgi <pgeorgi@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/58380 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Singer <felixsinger@posteo.net>
Diffstat (limited to 'util/crossgcc/patches')
-rw-r--r--util/crossgcc/patches/gdb-9.2_amd64.patch14
-rw-r--r--util/crossgcc/patches/gdb-9.2_no-doc.patch11
-rw-r--r--util/crossgcc/patches/gdb-9.2_pythonhome.patch19
3 files changed, 0 insertions, 44 deletions
diff --git a/util/crossgcc/patches/gdb-9.2_amd64.patch b/util/crossgcc/patches/gdb-9.2_amd64.patch
deleted file mode 100644
index 47d9a72a66..0000000000
--- a/util/crossgcc/patches/gdb-9.2_amd64.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff -urN gdb-3.orig/gdb/configure.tgt gdb-8.3/gdb/configure.tgt
---- gdb-8.3.orig/gdb/configure.tgt 2019-02-27 05:51:48.000000000 +0100
-+++ gdb-8.3/gdb/configure.tgt 2019-05-12 08:07:45.624984535 +0200
-@@ -772,6 +772,10 @@
- x86_64-*-rtems*)
- gdb_target_obs="${amd64_tobjs} ${i386_tobjs} i386-bsd-tdep.o"
- ;;
-+x86_64-*-*)
-+ # Target: amd6
-+ gdb_target_obs="amd64-tdep.o i386-tdep.o i387-tdep.o"
-+ ;;
- xtensa*-*-*linux*)
- # Target: GNU/Linux Xtensa
- gdb_target_obs="xtensa-linux-tdep.o symfile-mem.o linux-tdep.o"
diff --git a/util/crossgcc/patches/gdb-9.2_no-doc.patch b/util/crossgcc/patches/gdb-9.2_no-doc.patch
deleted file mode 100644
index 59ca998051..0000000000
--- a/util/crossgcc/patches/gdb-9.2_no-doc.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- gdb-9.1.orig/gdb/Makefile.in 2020-02-08 13:50:14.000000000 +0100
-+++ gdb-9.1/gdb/Makefile.in 2020-02-08 20:11:17.201244042 +0100
-@@ -1606,7 +1606,7 @@
- $(SUBDIR_TARGET_OBS) \
- $(SUBDIR_GCC_COMPILE_OBS)
-
--SUBDIRS = doc @subdirs@ data-directory
-+SUBDIRS = @subdirs@ data-directory
- CLEANDIRS = $(SUBDIRS)
-
- # List of subdirectories in the build tree that must exist.
diff --git a/util/crossgcc/patches/gdb-9.2_pythonhome.patch b/util/crossgcc/patches/gdb-9.2_pythonhome.patch
deleted file mode 100644
index 51f74dbe2a..0000000000
--- a/util/crossgcc/patches/gdb-9.2_pythonhome.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-diff -urN gdb-8.2.1.orig/gdb/python/python.c gdb-8.2.1/gdb/python/python.c
---- gdb-8.2.1.org/gdb/python/python.c 2019-01-04 12:48:32.440687758 +0100
-+++ gdb-8.2.1/gdb/python/python.c 2019-01-04 12:54:09.917677688 +0100
-@@ -1727,6 +1727,15 @@
- #endif
- #endif
-
-+ char readlinkbuffer[BUFSIZ];
-+ int readlinks = readlink("/proc/self/exe", readlinkbuffer, BUFSIZ - 1);
-+ readlinkbuffer[readlinks] = 0;
-+ char *executeablepath = dirname(readlinkbuffer);
-+ char *pythonhome = malloc(strlen(executeablepath) + strlen("/../") + 2);
-+ strcpy(pythonhome, executeablepath);
-+ strcat(pythonhome, "/../");
-+ setenv("PYTHONHOME", pythonhome, 1);
-+
- Py_Initialize ();
- PyEval_InitThreads ();
-