From f4d9d7a26b40db14c5d6a87f19df55dfb9000170 Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@nbd.name>
Date: Sat, 11 Feb 2017 13:03:07 +0100
Subject: [PATCH] glibc: use default PATCH_DIR

Version configuration is gone, so version specific patch directories are
not necessary either.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
---
 toolchain/glibc/common.mk                                       | 2 --
 toolchain/glibc/patches/{2.24 => }/100-fix_cross_rpcgen.patch   | 0
 .../glibc/patches/{2.24 => }/200-add-dl-search-paths.patch      | 0
 3 files changed, 2 deletions(-)
 rename toolchain/glibc/patches/{2.24 => }/100-fix_cross_rpcgen.patch (100%)
 rename toolchain/glibc/patches/{2.24 => }/200-add-dl-search-paths.patch (100%)

diff --git a/toolchain/glibc/common.mk b/toolchain/glibc/common.mk
index 12666ac6ff..26e2376bfc 100644
--- a/toolchain/glibc/common.mk
+++ b/toolchain/glibc/common.mk
@@ -19,8 +19,6 @@ PKG_SOURCE:=$(PKG_SOURCE_SUBDIR).tar.bz2
 
 GLIBC_PATH:=
 
-PATCH_DIR:=$(PATH_PREFIX)/patches/$(PKG_VERSION)
-
 HOST_BUILD_DIR:=$(BUILD_DIR_TOOLCHAIN)/$(PKG_SOURCE_SUBDIR)
 CUR_BUILD_DIR:=$(HOST_BUILD_DIR)-$(VARIANT)
 
diff --git a/toolchain/glibc/patches/2.24/100-fix_cross_rpcgen.patch b/toolchain/glibc/patches/100-fix_cross_rpcgen.patch
similarity index 100%
rename from toolchain/glibc/patches/2.24/100-fix_cross_rpcgen.patch
rename to toolchain/glibc/patches/100-fix_cross_rpcgen.patch
diff --git a/toolchain/glibc/patches/2.24/200-add-dl-search-paths.patch b/toolchain/glibc/patches/200-add-dl-search-paths.patch
similarity index 100%
rename from toolchain/glibc/patches/2.24/200-add-dl-search-paths.patch
rename to toolchain/glibc/patches/200-add-dl-search-paths.patch
-- 
GitLab