annotate sources/targets/x86_64 @ 1609:19a363f60409

OpenBIOS upgrade in qemu 1.5 broke sparc, by changing reported CPU features. Specify different processor variant on command line to make it work again.
author Rob Landley <rob@landley.net>
date Thu, 04 Jul 2013 07:19:27 -0500
parents e958c89076c1
children 36beae266f90
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1400
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
1 DESCRIPTION="
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
2 64-bit x86.
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
3
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
4 Modern standard PC architecture. Runs i686 code as well.
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
5 "
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
6
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
7 KARCH=x86_64
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
8 KERNEL_PATH=arch/${KARCH}/boot/bzImage
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
9 GCC_FLAGS=
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
10 BINUTILS_FLAGS="--enable-64-bit-bfd"
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
11 QEMU_TEST=
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
12
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
13 ROOT=hda
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
14 CONSOLE=ttyS0
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
15
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
16 UCLIBC_CONFIG="
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
17 TARGET_x86_64=y
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
18 UCLIBC_HAS_FPU=y
1522
95a720e694a6 Switch x86_64 from nptl back to pthreads. This isn't the correct fix but uClibc apparently never tested nptl on x86-64, and one of the assembly files doesn't support PIC.
Rob Landley <rob@landley.net>
parents: 1434
diff changeset
19 LINUXTHREADS_OLD=y
1400
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
20 "
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
21
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
22 LINUX_CONFIG="
1601
e958c89076c1 Prep work for linux-3.10.
Rob Landley <rob@landley.net>
parents: 1522
diff changeset
23 CONFIG_64BIT=y
1400
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
24 CONFIG_ACPI=y
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
25 CONFIG_BLK_DEV_PIIX=y
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
26 CONFIG_NETDEV_1000=y
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
27 CONFIG_E1000=y
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
28 CONFIG_SERIAL_8250=y
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
29 CONFIG_SERIAL_8250_CONSOLE=y
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
30 "
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
31
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
32 emulator_command()
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
33 {
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
34 echo qemu-system-x86_64 $(qemu_defaults "$@")
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
35 }