diff options
author | David Holsgrove <david.holsgrove@xilinx.com> | 2013-03-12 15:13:59 +1000 |
---|---|---|
committer | David Holsgrove <david.holsgrove@xilinx.com> | 2014-12-09 15:51:11 +1000 |
commit | 71ed5aae34cce6c71ad3de5e9cb1c79e9578e905 (patch) | |
tree | 149e5f010f2ce5dcae3da042e8abbe8196d95435 /scripts/build/libc | |
parent | 79b988129514d8bcf7858fc6b527fd2315c544a2 (diff) | |
download | crosstool-ng-71ed5aae34cce6c71ad3de5e9cb1c79e9578e905.tar.gz crosstool-ng-71ed5aae34cce6c71ad3de5e9cb1c79e9578e905.tar.bz2 crosstool-ng-71ed5aae34cce6c71ad3de5e9cb1c79e9578e905.zip |
libc/eglibc: Add CUSTOM version and CUSTOM_LOCATION config options and GetCustom
CUSTOM_LOCATION config options only presented in menuconfig if component
CUSTOM version selected.
Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com>
Diffstat (limited to 'scripts/build/libc')
-rw-r--r-- | scripts/build/libc/eglibc.sh | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/scripts/build/libc/eglibc.sh b/scripts/build/libc/eglibc.sh index d7960d96..1f1095fa 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") |