a26164117a
replaced by the make option COPY_SYMTAB set to any value. The copy of the symbol table is no longer put into a buffer in kern_ksyms.o, but a small helper object. This object is build first with a dummy size, then the kernel is linked to compute the real dimension of the symbol table buffer. After that, the helper object is rebuild and the kernel linked again.
45 lines
1.2 KiB
Plaintext
45 lines
1.2 KiB
Plaintext
# $NetBSD: KUROBOX_PRO,v 1.7 2014/08/17 21:17:43 joerg Exp $
|
|
#
|
|
# KUROBOX_PRO -- KUROUTOSHIKOU. KURO-BOX/PRO platform kernel
|
|
#
|
|
|
|
include "arch/evbarm/conf/MARVELL_NAS"
|
|
|
|
# Board Type
|
|
makeoptions BOARDTYPE="kurobox_pro"
|
|
options EVBARM_BOARDTYPE=kurobox_pro
|
|
|
|
makeoptions CPUFLAGS="-mcpu=xscale" # Xscale instruction set support
|
|
no options CPU_SHEEVA
|
|
no options KIRKWOOD
|
|
|
|
# Also build a kernel with root on wd0, to avoid query for root fs
|
|
config netbsd-wd0 root on wd0 type ffs
|
|
|
|
# Development and Debugging options
|
|
|
|
#options PERFCTRS # performance counters
|
|
options DIAGNOSTIC # internal consistency checks
|
|
options DEBUG
|
|
#options PMAP_DEBUG # Enable pmap_debug_level code
|
|
#options VERBOSE_INIT_ARM # verbose bootstraping messages
|
|
options DDB # in-kernel debugger
|
|
#options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
|
|
#options KGDB
|
|
#options DEBUG_KGDB
|
|
makeoptions DEBUG="-g" # compile full symbol table
|
|
#makeoptions COPTS="-O2"
|
|
makeoptions COPY_SYMTAB=1
|
|
#options AUDIO_DEBUG=2
|
|
|
|
|
|
# On-chip PCI Interface doesn't use.
|
|
no gtpci* at mvsoc?
|
|
no pci* at gtpci?
|
|
|
|
rs5c372rtc* at iic? addr 0x32 # RICOH RS5C372 RTC
|
|
|
|
# PCI network interfaces
|
|
#mskc* at pci? dev ? function ? # Marvell Yukon 2 Gigabit Ethernet
|
|
#msk* at mskc?
|