1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: architecture/powerpc64/config.in
3 # Copyright (C) 2004 - 2024 The T2 SDE Project
4 # Copyright (C) 1998 - 2003 ROCK Linux Project
6 # This Copyright note is generated by scripts/Create-CopyPatch,
7 # more information can be found in the files COPYING and README.
9 # This program is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License version 2.
11 # --- T2-COPYRIGHT-NOTE-END ---
13 #Description: PowerPC 64
15 choice SDECFG_POWERPC64_ENDIANESS be \
16 be "Build for big endian machines" \
17 le "Build for little endian machines"
19 [ "$SDECFG_POWERPC64_ENDIANESS" != "be" ] &&
20 SDECFG_ID="${SDECFG_ID}${SDECFG_POWERPC64_ENDIANESS}"
22 choice SDECFG_POWERPC64_ELF_ABI elfv2 \
23 elfv1 "Build for ELFv1 ABI" \
24 elfv2 "Build for ELFv2 ABI"
26 if [ "$SDECFG_POWERPC64_ENDIANESS" != "le" ]; then
27 choice SDECFG_POWERPC64_OPT generic \
28 generic "No special optimization" \
29 power3 "Optimized for Power3" \
30 power4 "Optimized for Power4" \
31 970 "Optimized for 970 (G5)" \
32 cell "Optimized for Cell Broadband Engine" \
33 power5 "Optimized for Power5" \
34 power5+ "Optimized for Power5+" \
35 power6 "Optimized for Power6" \
36 power6x "Optimized for Power6x" \
37 power7 "Optimized for Power7" \
38 power8 "Optimized for Power8" \
39 power9 "Optimized for Power9" \
40 powwe10 "Optimized for Power10"
42 choice SDECFG_POWERPC64_OPT power8 \
43 power8 "Optimized for Power8" \
44 power9 "Optimized for Power9" \
45 power10 "Optimized for Power10"
48 bool 'Default to 32-bit for the user-space applications' SDECFG_POWERPC64_32 0
52 if [ $SDECFG_POWERPC64_OPT != generic ] ; then
53 SDECFG_ID="$SDECFG_ID-$SDECFG_POWERPC64_OPT"