diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-05-02 21:59:14 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-05-02 21:59:14 (GMT) |
commit | ff1d30c4a3c619bf6e451634c35c23ffce835001 (patch) | |
tree | 5c8b7f516ada07f973d70556cd7ac3977106edab /scripts/build/tools/libelf.sh | |
parent | fdb7c1e75d537921898d2068530c137881769eb5 (diff) |
For tools/ and debug/ build scripts, annd a numeric prefix, so that they always get built in the same order, in case of library dependencies.
/trunk/scripts/build/debug.sh | 2 1 1 0 +-
/trunk/scripts/build/tools.sh | 2 1 1 0 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Diffstat (limited to 'scripts/build/tools/libelf.sh')
-rw-r--r-- | scripts/build/tools/libelf.sh | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/scripts/build/tools/libelf.sh b/scripts/build/tools/libelf.sh deleted file mode 100644 index 5bb1d7b..0000000 --- a/scripts/build/tools/libelf.sh +++ /dev/null @@ -1,48 +0,0 @@ -# Build script for libelf - -is_enabled="${CT_LIBELF}" - -do_print_filename() { - [ "{CT_LIBELF}" = "y" ] || return 0 - echo "libelf-${CT_LIBELF_VERSION}" -} - -do_tools_libelf_get() { - # The server hosting libelf will return an "HTTP 300 : Multiple Choices" - # error code if we try to download a file that does not exists there. - # So we have to request the file with an explicit extension. - CT_GetFile "libelf-${CT_LIBELF_VERSION}" .tar.gz http://www.mr511.de/software/ -} - -do_tools_libelf_extract() { - CT_ExtractAndPatch "libelf-${CT_LIBELF_VERSION}" -} - -do_tools_libelf_build() { - CT_DoStep INFO "Installing libelf" - mkdir -p "${CT_BUILD_DIR}/build-libelf" - CT_Pushd "${CT_BUILD_DIR}/build-libelf" - - CT_DoLog EXTRA "Configuring libelf" - CC="${CT_TARGET}-gcc" \ - "${CT_SRC_DIR}/libelf-${CT_LIBELF_VERSION}/configure" \ - --build=${CT_BUILD} \ - --host=${CT_TARGET} \ - --target=${CT_TARGET} \ - --prefix=/usr \ - --enable-compat \ - --enable-elf64 \ - --enable-shared \ - --enable-extended-format \ - --enable-static 2>&1 |CT_DoLog ALL - - CT_DoLog EXTRA "Building libelf" - make 2>&1 |CT_DoLog ALL - - CT_DoLog EXTRA "Installing libelf" - make instroot="${CT_SYSROOT_DIR}" install 2>&1 |CT_DoLog ALL - - CT_Popd - CT_EndStep -} - |