summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-07-14 11:47:36 +0200
committerFelix Fietkau <nbd@nbd.name>2016-07-15 14:17:26 +0200
commit0aa64508403d3f32c531d769cb78826597305059 (patch)
treea104d756c4ccd46aa2b881a13ce3e1a7d7800e23
parent0f4a337b31f2d3bc6baf995fad0a5b05b96adeb2 (diff)
downloadmaster-31e0f0ae-0aa64508403d3f32c531d769cb78826597305059.tar.gz
master-31e0f0ae-0aa64508403d3f32c531d769cb78826597305059.tar.bz2
master-31e0f0ae-0aa64508403d3f32c531d769cb78826597305059.zip
toolchain/gdb: reorganize patch layout
Use ./patches and ./patches-arc instead of version dependent patches. We should have only one main supported version (along with the special case for arc). Signed-off-by: Felix Fietkau <nbd@nbd.name>
-rw-r--r--toolchain/gdb/Makefile3
-rw-r--r--toolchain/gdb/patches-arc/100-no_extern_inline.patch (renamed from toolchain/gdb/patches/7.11/100-no_extern_inline.patch)0
-rw-r--r--toolchain/gdb/patches-arc/110-no_testsuite.patch (renamed from toolchain/gdb/patches/arc-2016.03-gdb/110-no_testsuite.patch)0
-rw-r--r--toolchain/gdb/patches-arc/120-fix-compile-flag-mismatch.patch (renamed from toolchain/gdb/patches/arc-2016.03-gdb/120-fix-compile-flag-mismatch.patch)0
-rw-r--r--toolchain/gdb/patches/100-no_extern_inline.patch (renamed from toolchain/gdb/patches/arc-2016.03-gdb/100-no_extern_inline.patch)0
-rw-r--r--toolchain/gdb/patches/110-no_testsuite.patch (renamed from toolchain/gdb/patches/7.11/110-no_testsuite.patch)0
-rw-r--r--toolchain/gdb/patches/120-fix-compile-flag-mismatch.patch (renamed from toolchain/gdb/patches/7.11/120-fix-compile-flag-mismatch.patch)0
7 files changed, 1 insertions, 2 deletions
diff --git a/toolchain/gdb/Makefile b/toolchain/gdb/Makefile
index 97d88d65a6..8d41ee9781 100644
--- a/toolchain/gdb/Makefile
+++ b/toolchain/gdb/Makefile
@@ -15,6 +15,7 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://github.com/foss-for-synopsys-dwc-arc-processors/binutils-gdb/archive/arc-2016.03-gdb
PKG_MD5SUM:=775caaf6385c16f20b6f53c0a2b95f79
GDB_DIR:=binutils-$(PKG_NAME)-$(PKG_VERSION)
+PATCH_DIR:=./patches-arc
else
PKG_VERSION:=7.11
@@ -24,8 +25,6 @@ PKG_MD5SUM:=b5c784685e1cde65ba135feea86b6d75
GDB_DIR:=$(PKG_NAME)-$(PKG_VERSION)
endif
-PATCH_DIR:=./patches/$(PKG_VERSION)
-
HOST_BUILD_DIR:=$(BUILD_DIR_TOOLCHAIN)/$(GDB_DIR)
HOST_BUILD_PARALLEL:=1
diff --git a/toolchain/gdb/patches/7.11/100-no_extern_inline.patch b/toolchain/gdb/patches-arc/100-no_extern_inline.patch
index 8c18c6e2e7..8c18c6e2e7 100644
--- a/toolchain/gdb/patches/7.11/100-no_extern_inline.patch
+++ b/toolchain/gdb/patches-arc/100-no_extern_inline.patch
diff --git a/toolchain/gdb/patches/arc-2016.03-gdb/110-no_testsuite.patch b/toolchain/gdb/patches-arc/110-no_testsuite.patch
index 1b284ea767..1b284ea767 100644
--- a/toolchain/gdb/patches/arc-2016.03-gdb/110-no_testsuite.patch
+++ b/toolchain/gdb/patches-arc/110-no_testsuite.patch
diff --git a/toolchain/gdb/patches/arc-2016.03-gdb/120-fix-compile-flag-mismatch.patch b/toolchain/gdb/patches-arc/120-fix-compile-flag-mismatch.patch
index c8b41f264a..c8b41f264a 100644
--- a/toolchain/gdb/patches/arc-2016.03-gdb/120-fix-compile-flag-mismatch.patch
+++ b/toolchain/gdb/patches-arc/120-fix-compile-flag-mismatch.patch
diff --git a/toolchain/gdb/patches/arc-2016.03-gdb/100-no_extern_inline.patch b/toolchain/gdb/patches/100-no_extern_inline.patch
index 8c18c6e2e7..8c18c6e2e7 100644
--- a/toolchain/gdb/patches/arc-2016.03-gdb/100-no_extern_inline.patch
+++ b/toolchain/gdb/patches/100-no_extern_inline.patch
diff --git a/toolchain/gdb/patches/7.11/110-no_testsuite.patch b/toolchain/gdb/patches/110-no_testsuite.patch
index 3a9c1e7154..3a9c1e7154 100644
--- a/toolchain/gdb/patches/7.11/110-no_testsuite.patch
+++ b/toolchain/gdb/patches/110-no_testsuite.patch
diff --git a/toolchain/gdb/patches/7.11/120-fix-compile-flag-mismatch.patch b/toolchain/gdb/patches/120-fix-compile-flag-mismatch.patch
index d7c8df4fa4..d7c8df4fa4 100644
--- a/toolchain/gdb/patches/7.11/120-fix-compile-flag-mismatch.patch
+++ b/toolchain/gdb/patches/120-fix-compile-flag-mismatch.patch