summaryrefslogtreecommitdiff
path: root/scripts/build/companion_libs/gmp.sh
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2010-08-23 21:18:49 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2010-08-23 21:18:49 (GMT)
commit1504a1ef106643278e80bd98b21dd4439204e8ec (patch)
treeddb62dd3f7dd69aa6ccc6174db69c38e97f62d16 /scripts/build/companion_libs/gmp.sh
parente81fe2c77814ba7638c6818a9dac2d1568fbad51 (diff)
complibs: noone is using companion libs on the target; nuke them
As there's no longer any user of the companion libraries on the target, nuke the build for the target. Well, at least, there's libelf that's still needed by ltrace, so we keep it. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Diffstat (limited to 'scripts/build/companion_libs/gmp.sh')
-rw-r--r--scripts/build/companion_libs/gmp.sh40
1 files changed, 1 insertions, 39 deletions
diff --git a/scripts/build/companion_libs/gmp.sh b/scripts/build/companion_libs/gmp.sh
index 11da8f7..6f41696 100644
--- a/scripts/build/companion_libs/gmp.sh
+++ b/scripts/build/companion_libs/gmp.sh
@@ -5,10 +5,9 @@
do_gmp_get() { :; }
do_gmp_extract() { :; }
do_gmp() { :; }
-do_gmp_target() { :; }
# Overide functions depending on configuration
-if [ "${CT_GMP}" = "y" -o "${CT_GMP_TARGET}" = "y" ]; then
+if [ "${CT_GMP}" = "y" ]; then
# Download GMP
do_gmp_get() {
@@ -21,8 +20,6 @@ do_gmp_extract() {
CT_Patch "gmp" "${CT_GMP_VERSION}"
}
-if [ "${CT_GMP}" = "y" ]; then
-
do_gmp() {
local -a gmp_opts
@@ -65,38 +62,3 @@ do_gmp() {
}
fi # CT_GMP
-
-if [ "${CT_GMP_TARGET}" = "y" ]; then
-
-do_gmp_target() {
- mkdir -p "${CT_BUILD_DIR}/build-gmp-target"
- cd "${CT_BUILD_DIR}/build-gmp-target"
-
- CT_DoStep INFO "Installing GMP for the target"
-
- CT_DoLog EXTRA "Configuring GMP"
- CFLAGS="${CT_CFLAGS_FOR_TARGET}" \
- CT_DoExecLog ALL \
- "${CT_SRC_DIR}/gmp-${CT_GMP_VERSION}/configure" \
- --build=${CT_BUILD} \
- --host=${CT_TARGET} \
- --prefix=/usr \
- --disable-shared \
- --enable-static \
- --enable-fft \
- --enable-mpbsd \
-
- CT_DoLog EXTRA "Building GMP"
- CT_DoExecLog ALL make ${PARALLELMFLAGS}
-
- # Not possible to check MPFR while X-compiling
-
- CT_DoLog EXTRA "Installing GMP"
- CT_DoExecLog ALL make DESTDIR="${CT_SYSROOT_DIR}" install
-
- CT_EndStep
-}
-
-fi # CT_GMP_TARGET
-
-fi # CT_GMP || CT_GMP_TARGET