[LEDE-DEV] [PATCH 1/2] glibc: fix applying of patches

Hans Dedecker dedeckeh at gmail.com
Mon Mar 12 03:13:07 PDT 2018


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 <xinxing.huchn at gmail.com>
Signed-off-by: Hans Dedecker <dedeckeh at gmail.com>
---
 toolchain/glibc/common.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/toolchain/glibc/common.mk b/toolchain/glibc/common.mk
index 0ffeef0..090901e 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
 
-- 
1.9.1




More information about the Lede-dev mailing list