annotate sources/targets/sparc @ 1839:c8293b3ab81f draft default tip

Teach chroot-splice to accept one or two arguments. (Control image now optional.)
author Rob Landley <rob@landley.net>
date Sun, 17 Jan 2016 21:18:52 -0600
parents b89324905ca2
children
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 32-bit sparc
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 Sparc was a risc processor design Sun Microsystems came up with to replace
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 m68k in their Unix workstations. With the advent of OpenSolaris and
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 x86-64, Fujitsu mainframes may now use more of it than they do.
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
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 This has been broken for a couple years, and nobody's bothered to fix it.
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 "
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
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 # Originally contributed by Bertl.
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 KARCH=sparc
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 KERNEL_PATH=arch/${KARCH}/boot/image
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 BINUTILS_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
16 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
17 QEMU_TEST=$KARCH
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
1478
c1d26568dbb8 Fix sparc dynamic linker.
Rob Landley <rob@landley.net>
parents: 1400
diff changeset
19 #BUILD_STATIC=all
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 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
22
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
23 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
24 TARGET_sparc=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 UCLIBC_HAS_FPU=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 FORCE_SHAREABLE_TEXT_SEGMENTS=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 "
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
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 LINUX_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
30 CONFIG_SCSI_SUNESP=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
31 CONFIG_SUNLANCE=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
32 CONFIG_SERIAL_SUNZILOG=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
33 CONFIG_SERIAL_SUNZILOG_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
34 CONFIG_SUN_MOSTEK_RTC=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
35 "
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
36
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
37 #CONFIG_UNWIND_INFO
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
38 #CONFIG_FORCED_INLINING
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
39 #CONFIG_RTC_HCTOSYS
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
40
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
41 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
42 {
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.
Rob Landley <rob@landley.net>
parents: 1478
diff changeset
43 echo qemu-system-sparc -cpu '"Fujitsu MB86907"' $(qemu_defaults "$@")
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
44 }