From 1a6c3e586d2ffa46fd3a3b84c6cc606768f20a45 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Sat, 9 Feb 2008 21:19:55 +0200 Subject: [PATCH] Improved x86-64 config making the multilib ABIs and default userland ABI chooseable --- architecture/x86-64/config.in | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/architecture/x86-64/config.in b/architecture/x86-64/config.in index 398e2ca..fc3e614 100644 --- a/architecture/x86-64/config.in +++ b/architecture/x86-64/config.in @@ -2,7 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: architecture/x86-64/config.in -# Copyright (C) 2014 The OpenSDE Project +# Copyright (C) 2008 - 2014 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 1998 - 2003 Clifford Wolf # @@ -38,3 +38,15 @@ choice SDECFG_X8664_OPT generic \ if [ $SDECFG_X8664_OPT != generic ] ; then SDECFG_ID="$SDECFG_ID-$SDECFG_X8664_OPT" fi + +if [ "$SDECFG_MULTILIB" == 1 ]; then + eval SDECFG_ABI_$SDECFG_ABI_DEFAULT="1" + comment '- Available multilib ABIs' + bool "64 (64bit)" SDECFG_ABI_64 1 + bool "32 (32bit)" SDECFG_ABI_32 1 +fi + +comment '- Default userland ABI' +choice SDECFG_ABI_DEFAULT 64 \ + 64 "64bit" \ + 32 "32bit"