From 3790305f90be4c6c69c0ab816dc9db868ab4bab2 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Thu, 10 Feb 2011 14:02:19 +0100 Subject: [PATCH] eglibc: rework buildscript, now it uses our config again, adapt the config for our needs Signed-off-by: Stephan Raue --- packages/toolchain/devel/eglibc/build | 72 ++++++++++++++----------- packages/toolchain/devel/eglibc/install | 9 ++-- 2 files changed, 47 insertions(+), 34 deletions(-) diff --git a/packages/toolchain/devel/eglibc/build b/packages/toolchain/devel/eglibc/build index bd7dd593ed..1d656fcfff 100755 --- a/packages/toolchain/devel/eglibc/build +++ b/packages/toolchain/devel/eglibc/build @@ -38,8 +38,7 @@ if [ "$DEBUG" = yes ]; then DEBUG_CONFIG="--enable-debug" else DEBUG_CONFIG="--disable-debug" - DEBUG_OPTIONS="OPTION_EGLIBC_BACKTRACE = n - OPTION_EGLIBC_MEMUSAGE = n" + DEBUG_OPTIONS=" OPTION_EGLIBC_MEMUSAGE = n" fi NSS_CONF_DIR=`ls -d $ROOT/$BUILD/eglibc*/nss` @@ -50,6 +49,46 @@ autoconf mkdir -p objdir-$1 && cd objdir-$1 +# OPTION_EGLIBC_NSSWITCH_FIXED_CONFIG = $NSS_CONF_DIR/fixed-nsswitch.conf +# OPTION_EGLIBC_NSSWITCH_FIXED_FUNCTIONS = $NSS_CONF_DIR/fixed-nsswitch.functions + +cat >option-groups.config <config.cache <options-groups.conf <configparms <