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.
37 lines
1.0 KiB
Plaintext
37 lines
1.0 KiB
Plaintext
# $NetBSD: DNS323,v 1.7 2014/08/17 21:17:43 joerg Exp $
|
|
#
|
|
# DNS323 -- D-Link. DNS-323 platform kernel
|
|
#
|
|
|
|
include "arch/evbarm/conf/MARVELL_NAS"
|
|
|
|
# Board Type
|
|
makeoptions BOARDTYPE="dns323"
|
|
options EVBARM_BOARDTYPE=dns323
|
|
|
|
makeoptions CPUFLAGS="-mcpu=xscale" # Xscale instruction set support
|
|
no options CPU_SHEEVA
|
|
|
|
# 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
|
|
|
|
|
|
g760a* at iic? addr 0x3e # G760a fan speed controller
|
|
lmtemp* at iic? addr 0x48 # LM75 temperature sensor
|
|
strtc* at iic? addr 0x68 # ST M41T80 Real-Time Clock
|
|
options STRTC_NO_USERRAM
|
|
options STRTC_NO_WATCHDOG
|