Browse Source

linux26: fixed x86 compilation in >= 2.6.24, as now 64 bits is the default

karasz/qt
Alejandro Mery 16 years ago committed by Alejandro Mery
parent
commit
aad12a57c1
  1. 17
      base/linux26/arch/config.x86.sh

17
base/linux26/arch/config.x86.sh

@ -12,7 +12,7 @@
# GNU General Public License can be found in the file COPYING. # GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END --- # --- SDE-COPYRIGHT-NOTE-END ---
linux_ver="$1" lx_ver="$1"
# Map $SDECFG_X86_OPT to something meaningful to the kernel # Map $SDECFG_X86_OPT to something meaningful to the kernel
linux_arch_map="i386:M386 linux_arch_map="i386:M386
@ -52,10 +52,15 @@ for x in $( echo "$linux_arch_map" | cut -d: -f2 | sort -u ); do
fi fi
done done
cat <<-EOT if [ $lx_ver -ge 2006024 ]; then
CONFIG_X86_GENERIC=y # Merged i386 and x86-64
CONFIG_X86_PC=y echo "CONFIG_64BIT=n"
else
cat <<-EOT
CONFIG_X86_GENERIC=y
CONFIG_X86_PC=y
EOT EOT
fi
exec sh ${0%/*}/config-common.sh "$linux_ver" exec sh ${0%/*}/config-common.sh "$lx_ver"

Loading…
Cancel
Save