Browse Source

Added x86-64 parse-config which currently provides ABI related information used by multilib parse-config

user/amery/multilib
Christian Wiese 16 years ago
committed by Alejandro Mery
parent
commit
0e30424e04
1 changed files with 25 additions and 0 deletions
  1. +25
    -0
      architecture/x86-64/parse-config

+ 25
- 0
architecture/x86-64/parse-config

@ -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

Loading…
Cancel
Save