Factor out the common parts of the swarm board in SWARM_COMMON and start

including that in SWARM and SWARM_SMP kernel configs.
This commit is contained in:
Neel Natu 2010-09-15 05:29:13 +00:00
parent 885b75a559
commit 391da75b41
3 changed files with 73 additions and 63 deletions

View File

@ -2,69 +2,11 @@
# $FreeBSD$
#
include SWARM_COMMON
ident SWARM
options CPU_SB1
files "../sibyte/files.sibyte"
hints "SWARM.hints"
options CFE
options CFE_CONSOLE
options CFE_ENV
options ALT_BREAK_TO_DEBUGGER
options ISA_MIPS32
makeoptions ARCH_FLAGS="-mabi=32 -march=mips32"
makeoptions LDSCRIPT_NAME= ldscript.mips.cfe
#cpu CPU_MIPS64
#options ISA_MIPS64
#makeoptions ARCH_FLAGS="-march=mips64 -mgp64 -mabi=o64"
cpu CPU_MIPS32
options ISA_MIPS32
makeoptions ARCH_FLAGS="-march=mips32"
makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
makeoptions MODULES_OVERRIDE=""
options DDB
options KDB
options SCHED_4BSD #4BSD scheduler
options INET #InterNETworking
options NFSCLIENT #Network Filesystem Client
options NFS_ROOT #NFS usable as /, requires NFSCLIENT
options PSEUDOFS #Pseudo-filesystem framework
options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
# Debugging for use in -current
#options DEADLKRES
options INVARIANTS
options INVARIANT_SUPPORT
options WITNESS
options FFS #Fast filesystem
options KTRACE
device pci
device miibus
device bge
device loop
device ether
device md
device random
options USB_DEBUG
device usb
device ohci
device uhci
device ehci
device umass
device scbus
device da
device ata
device atadisk
device atapicd
options ATA_STATIC_ID

View File

@ -0,0 +1,60 @@
#
# $FreeBSD$
#
files "../sibyte/files.sibyte"
hints "SWARM.hints"
options CFE
options CFE_CONSOLE
options CFE_ENV
options ALT_BREAK_TO_DEBUGGER
cpu CPU_SB1
makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
makeoptions MODULES_OVERRIDE=""
options DDB
options KDB
options SCHED_4BSD #4BSD scheduler
options INET #InterNETworking
options NFSCLIENT #Network Filesystem Client
options NFS_ROOT #NFS usable as /, requires NFSCLIENT
options PSEUDOFS #Pseudo-filesystem framework
options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
# Debugging for use in -current
#options DEADLKRES
options INVARIANTS
options INVARIANT_SUPPORT
options WITNESS
options FFS #Fast filesystem
options KTRACE
device pci
device miibus
device bge
device loop
device ether
device md
device random
options USB_DEBUG
device usb
device ohci
device uhci
device ehci
device umass
device scbus
device da
device ata
device atadisk
device atapicd
options ATA_STATIC_ID

View File

@ -1,7 +1,15 @@
#
# $FreeBSD$
#
include SWARM_COMMON
ident SWARM_SMP
options SMP
options PRINTF_BUFR_SIZE=128
include SWARM
options ISA_MIPS32
makeoptions ARCH_FLAGS="-mabi=32 -march=mips32"
makeoptions LDSCRIPT_NAME= ldscript.mips.cfe