summaryrefslogtreecommitdiff
path: root/scripts/build/libc/eglibc.sh
diff options
context:
space:
mode:
authorBryan Hundven <bryanhundven@gmail.com>2014-12-15 17:33:43 (GMT)
committerBryan Hundven <bryanhundven@gmail.com>2014-12-15 17:33:43 (GMT)
commit0ee9ecbcf709b0e90dd825768bb917ca89db5e77 (patch)
treebdd2bb04b5a1ac92c567d5fd82b65d70b413a696 /scripts/build/libc/eglibc.sh
parent7275900f9ffce61fabc90e0ff870fec175976ffb (diff)
parent163a1737b8464ae241c0bfc1dfe61bbc668b3428 (diff)
Merge pull request #6 from davidholsgrove/libc_custom_location
Libc custom location
Diffstat (limited to 'scripts/build/libc/eglibc.sh')
-rw-r--r--scripts/build/libc/eglibc.sh11
1 files changed, 8 insertions, 3 deletions
diff --git a/scripts/build/libc/eglibc.sh b/scripts/build/libc/eglibc.sh
index d7960d9..1f1095f 100644
--- a/scripts/build/libc/eglibc.sh
+++ b/scripts/build/libc/eglibc.sh
@@ -27,9 +27,14 @@ do_libc_get() {
*) svn_base+="/branches/eglibc-${CT_LIBC_VERSION}";;
esac
- CT_GetSVN "eglibc-${CT_LIBC_VERSION}" \
- "${svn_base}/libc" \
- "${CT_EGLIBC_REVISION:-HEAD}"
+ if [ "${CT_LIBC_CUSTOM}" = "y" ]; then
+ CT_GetCustom "eglibc" "${CT_LIBC_VERSION}" "${CT_LIBC_EGLIBC_CUSTOM_LOCATION}"
+ CT_LIBC_CUSTOM_LOCATION="${CT_SRC_DIR}/eglibc-${CT_LIBC_VERSION}"
+ else
+ CT_GetSVN "eglibc-${CT_LIBC_VERSION}" \
+ "${svn_base}/libc" \
+ "${CT_EGLIBC_REVISION:-HEAD}"
+ fi
if [ "${CT_LIBC_LOCALES}" = "y" ]; then
extra_addons+=("localedef")