1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: architecture/powerpc64/config.in
3 # Copyright (C) 2004 - 2021 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 if [ "$SDECFG_POWERPC64_ENDIANESS" != "le" ]; then
25 choice SDECFG_POWERPC64_OPT generic \
26 generic "No special optimization" \
27 power3 "Optimized for Power3" \
28 power4 "Optimized for Power4" \
29 970 "Optimized for 970 (G5)" \
30 cell "Optimized for Cell Broadband Engine" \
31 power5 "Optimized for Power5" \
32 power5+ "Optimized for Power5+" \
33 power6 "Optimized for Power6" \
34 power6x "Optimized for Power6x" \
35 power7 "Optimized for Power7" \
36 power8 "Optimized for Power8" \
37 power9 "Optimized for Power9" \
38 powwe10 "Optimized for Power10"
40 choice SDECFG_POWERPC64_OPT power8 \
41 power8 "Optimized for Power8" \
42 power9 "Optimized for Power9" \
43 power0 "Optimized for Power10"
46 bool 'Default to 32-bit for the user-space applications' SDECFG_POWERPC64_32 0
48 if [ $SDECFG_POWERPC64_OPT != generic ] ; then
49 SDECFG_ID="$SDECFG_ID-$SDECFG_POWERPC64_OPT"