libc/uClibc: 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>
[yann.morin.1998@free.fr: fix indentation, don't patch custom dir location]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <712995e3e719fbbe24af.1349931201@localhost.localdomain>
PatchWork-Id: 190794
1 # Build script for strace
3 do_debug_strace_get() {
4 local base_url="http://downloads.sourceforge.net/project/strace/strace"
5 CT_GetFile "strace-${CT_STRACE_VERSION}" "${base_url}/${CT_STRACE_VERSION}"
6 # Downloading from sourceforge leaves garbage, cleanup
7 CT_DoExecLog ALL rm -f "${CT_TARBALLS_DIR}/showfiles.php"*
10 do_debug_strace_extract() {
11 CT_Extract "strace-${CT_STRACE_VERSION}"
12 CT_Patch "strace" "${CT_STRACE_VERSION}"
15 do_debug_strace_build() {
16 CT_DoStep INFO "Installing strace"
17 mkdir -p "${CT_BUILD_DIR}/build-strace"
18 CT_Pushd "${CT_BUILD_DIR}/build-strace"
20 CT_DoLog EXTRA "Configuring strace"
22 "${CT_SRC_DIR}/strace-${CT_STRACE_VERSION}/configure" \
27 CT_DoLog EXTRA "Building strace"
30 CT_DoLog EXTRA "Installing strace"
31 CT_DoExecLog ALL make DESTDIR="${CT_DEBUGROOT_DIR}" install