|
|
@ -0,0 +1,25 @@ |
|
|
|
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
|
|
# |
|
|
|
# Filename: architecture/x86-64/parse-config |
|
|
|
# Copyright (C) 2008 The OpenSDE Project |
|
|
|
# |
|
|
|
# More information can be found in the files COPYING and README. |
|
|
|
# |
|
|
|
# This program is free software; you can redistribute it and/or modify |
|
|
|
# it under the terms of the GNU General Public License as published by |
|
|
|
# the Free Software Foundation; version 2 of the License. A copy of the |
|
|
|
# GNU General Public License can be found in the file COPYING. |
|
|
|
# --- SDE-COPYRIGHT-NOTE-END --- |
|
|
|
|
|
|
|
# create a list of ABIs that were selected to use |
|
|
|
# first element in the list is the default userland ABI |
|
|
|
arch_abis= |
|
|
|
var_append arch_abis ' ' "$SDECFG_ABI_DEFAULT" |
|
|
|
|
|
|
|
for abi in 64 32; do |
|
|
|
selected=$( eval "echo \$$( echo SDECFG_ABI_${abi})") |
|
|
|
if [ "$abi" != "$SDECFG_ABI_DEFAULT" ] && [ "$selected" == "1" ]; then |
|
|
|
var_append arch_abis ' ' "$abi" |
|
|
|
fi |
|
|
|
done |