1.1 --- a/scripts/build/tools/100-libelf.sh Wed Feb 17 23:50:49 2010 +0100
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,43 +0,0 @@
1.4 -# Build script for libelf
1.5 -
1.6 -do_tools_libelf_get() {
1.7 - # The server hosting libelf will return an "HTTP 300 : Multiple Choices"
1.8 - # error code if we try to download a file that does not exists there.
1.9 - # So we have to request the file with an explicit extension.
1.10 - CT_GetFile "libelf-${CT_LIBELF_VERSION}" .tar.gz http://www.mr511.de/software/
1.11 -}
1.12 -
1.13 -do_tools_libelf_extract() {
1.14 - CT_Extract "libelf-${CT_LIBELF_VERSION}"
1.15 - CT_Patch "libelf-${CT_LIBELF_VERSION}"
1.16 -}
1.17 -
1.18 -do_tools_libelf_build() {
1.19 - CT_DoStep INFO "Installing libelf"
1.20 - mkdir -p "${CT_BUILD_DIR}/build-libelf"
1.21 - CT_Pushd "${CT_BUILD_DIR}/build-libelf"
1.22 -
1.23 - CT_DoLog EXTRA "Configuring libelf"
1.24 - CC="${CT_TARGET}-gcc" \
1.25 - CT_DoExecLog ALL \
1.26 - "${CT_SRC_DIR}/libelf-${CT_LIBELF_VERSION}/configure" \
1.27 - --build=${CT_BUILD} \
1.28 - --host=${CT_TARGET} \
1.29 - --target=${CT_TARGET} \
1.30 - --prefix=/usr \
1.31 - --enable-compat \
1.32 - --enable-elf64 \
1.33 - --enable-shared \
1.34 - --enable-extended-format \
1.35 - --enable-static
1.36 -
1.37 - CT_DoLog EXTRA "Building libelf"
1.38 - CT_DoExecLog ALL make
1.39 -
1.40 - CT_DoLog EXTRA "Installing libelf"
1.41 - CT_DoExecLog ALL make instroot="${CT_SYSROOT_DIR}" install
1.42 -
1.43 - CT_Popd
1.44 - CT_EndStep
1.45 -}
1.46 -