From 67e6896c2bbd04933b826971f5de783789b21661 Mon Sep 17 00:00:00 2001 From: Bryan Hundven Date: Tue, 2 Jun 2015 10:47:58 -0700 Subject: Remove support for experimental patches and musl patches This functionality was provided so that crosstool-ng could have a further set of patches considered experimental and unsupported. Now that musl-libc support is making it's way upstream in gcc, I'm removing this support and the experimental musl patches. In later commits, backports from gcc upstream will be added to the supported patch sets to support musl-libc. Signed-off-by: Bryan Hundven --- scripts/functions | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'scripts/functions') diff --git a/scripts/functions b/scripts/functions index 06b47694..77db7dee 100644 --- a/scripts/functions +++ b/scripts/functions @@ -1103,17 +1103,11 @@ CT_Patch() { bundled_patch_dir="${CT_LIB_DIR}/patches/${pkgname}/${version}" local_patch_dir="${CT_LOCAL_PATCH_DIR}/${pkgname}/${version}" - # Check for experimental patches, if enabled. - if [ "${CT_EXPERIMENTAL_PATCHES}" = "y" ]; then - bundled_exp_patch_dir="${CT_LIB_DIR}/patches/experimental/${pkgname}/${version}" - local_exp_patch_dir="${CT_LOCAL_PATCH_DIR}/experimental/${pkgname}/${version}" - fi - case "${CT_PATCH_ORDER}" in - bundled) patch_dirs=("${bundled_patch_dir}" "${bundled_exp_patch_dir}");; - local) patch_dirs=("${local_patch_dir}" "${local_exp_patch_dir}");; - bundled,local) patch_dirs=("${bundled_patch_dir}" "${bundled_exp_patch_dir}" "${local_patch_dir}" "${local_exp_patch_dir}");; - local,bundled) patch_dirs=("${local_patch_dir}" "${local_exp_patch_dir}" "${bundled_patch_dir}" "${bundled_exp_patch_dir}");; + bundled) patch_dirs=("${bundled_patch_dir}");; + local) patch_dirs=("${local_patch_dir}");; + bundled,local) patch_dirs=("${bundled_patch_dir}" "${local_patch_dir}");; + local,bundled) patch_dirs=("${local_patch_dir}" "${bundled_patch_dir}");; none) patch_dirs=;; esac -- cgit v1.2.3