]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
toolchain/gdb: reorganize patch layout
authorFelix Fietkau <nbd@nbd.name>
Thu, 14 Jul 2016 09:47:36 +0000 (11:47 +0200)
committerFelix Fietkau <nbd@nbd.name>
Fri, 15 Jul 2016 12:17:26 +0000 (14:17 +0200)
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>
toolchain/gdb/Makefile
toolchain/gdb/patches-arc/100-no_extern_inline.patch [moved from toolchain/gdb/patches/7.11/100-no_extern_inline.patch with 100% similarity]
toolchain/gdb/patches-arc/110-no_testsuite.patch [moved from toolchain/gdb/patches/arc-2016.03-gdb/110-no_testsuite.patch with 100% similarity]
toolchain/gdb/patches-arc/120-fix-compile-flag-mismatch.patch [moved from toolchain/gdb/patches/arc-2016.03-gdb/120-fix-compile-flag-mismatch.patch with 100% similarity]
toolchain/gdb/patches/100-no_extern_inline.patch [moved from toolchain/gdb/patches/arc-2016.03-gdb/100-no_extern_inline.patch with 100% similarity]
toolchain/gdb/patches/110-no_testsuite.patch [moved from toolchain/gdb/patches/7.11/110-no_testsuite.patch with 100% similarity]
toolchain/gdb/patches/120-fix-compile-flag-mismatch.patch [moved from toolchain/gdb/patches/7.11/120-fix-compile-flag-mismatch.patch with 100% similarity]

index 97d88d65a60de92bab5db3e36a273598be125204..8d41ee9781b049ad23e287f693fb21ea476c7ff3 100644 (file)
@@ -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