From: Hans Dedecker Date: Mon, 12 Mar 2018 10:13:07 +0000 (+0100) Subject: glibc: fix applying of patches X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=3dee117a8a19d3d8dfdf63b63833b1b42175eeb0;p=openwrt%2Fstaging%2Fmkresin.git glibc: fix applying of patches Commit f4d9d7a removed support for version specific patches; but it also broke applying of patches in the patches glibc dir. Fix the issue by setting PATCH_DIR to $(PATH_PREFIX)/patches similar as musl/common.mk. Signed-off-by: Xinxing Hu Signed-off-by: Hans Dedecker --- diff --git a/toolchain/glibc/common.mk b/toolchain/glibc/common.mk index 0ffeef0f6a..090901e27f 100644 --- a/toolchain/glibc/common.mk +++ b/toolchain/glibc/common.mk @@ -16,6 +16,7 @@ PKG_HASH:=e54e0a934cd2bc94429be79da5e9385898d2306b9eaf3c92d5a77af96190f6bd PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) HOST_BUILD_DIR:=$(BUILD_DIR_TOOLCHAIN)/$(PKG_SOURCE_SUBDIR) CUR_BUILD_DIR:=$(HOST_BUILD_DIR)-$(VARIANT) +PATCH_DIR:=$(PATH_PREFIX)/patches include $(INCLUDE_DIR)/toolchain-build.mk