Commit 4ffc1434 authored by Mikael Starvik's avatar Mikael Starvik Committed by Linus Torvalds

[PATCH] CRIS: configuration and Build

Configuration and build updates for 2.6.9.
Signed-off-by: default avatarMikael Starvik <starvik@axis.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 1b36b237
menu "Kernel hacking" menu "Kernel hacking"
source "lib/Kconfig.debug"
#bool 'Debug kmalloc/kfree' CONFIG_DEBUG_MALLOC #bool 'Debug kmalloc/kfree' CONFIG_DEBUG_MALLOC
config PROFILE config PROFILING
bool "Kernel profiling support" bool "Kernel profiling support"
config PROFILE_SHIFT config SYSTEM_PROFILER
int "Profile shift count" bool "System profiling support"
depends on PROFILE
default "2"
config ETRAX_KGDB config ETRAX_KGDB
bool "Use kernel GDB debugger" bool "Use kernel GDB debugger"
...@@ -25,4 +21,21 @@ config ETRAX_KGDB ...@@ -25,4 +21,21 @@ config ETRAX_KGDB
didn't before). The kernel halts when it boots, waiting for gdb if didn't before). The kernel halts when it boots, waiting for gdb if
this option is turned on! this option is turned on!
config DEBUG_INFO
bool "Compile the kernel with debug info"
help
If you say Y here the resulting kernel image will include
debugging info resulting in a larger kernel image.
Say Y here only if you plan to use gdb to debug the kernel.
If you don't debug the kernel, you can say N.
config FRAME_POINTER
bool "Compile the kernel with frame pointers"
help
If you say Y here the resulting kernel image will be slightly larger
and slower, but it will give very useful debugging information.
If you don't debug the kernel, you can say N, but we may not be able
to solve problems without frame pointers.
endmenu endmenu
# $Id: Makefile,v 1.20 2004/05/14 14:35:58 orjanf Exp $ # $Id: Makefile,v 1.23 2004/10/19 13:07:34 starvik Exp $
# cris/Makefile # cris/Makefile
# #
# This file is included by the global makefile so that you can add your own # This file is included by the global makefile so that you can add your own
...@@ -80,7 +80,7 @@ compressed: zImage ...@@ -80,7 +80,7 @@ compressed: zImage
archmrproper: archmrproper:
archclean: archclean:
$(Q)$(MAKE) $(clean)=arch/$(ARCH)/boot $(Q)$(MAKE) $(clean)=arch/$(ARCH)/boot
rm -f timage vmlinux.bin cramfs.img rm -f timage vmlinux.bin decompress.bin rescue.bin cramfs.img
rm -rf $(LD_SCRIPT).tmp rm -rf $(LD_SCRIPT).tmp
prepare: arch/$(ARCH)/.links include/asm-$(ARCH)/.arch \ prepare: arch/$(ARCH)/.links include/asm-$(ARCH)/.arch \
......
...@@ -549,44 +549,17 @@ config ETRAX_RS485_DISABLE_RECEIVER ...@@ -549,44 +549,17 @@ config ETRAX_RS485_DISABLE_RECEIVER
config ETRAX_IDE config ETRAX_IDE
bool "ATA/IDE support" bool "ATA/IDE support"
select IDE
select BLK_DEV_IDE
select BLK_DEV_IDEDISK
select BLK_DEV_IDECD
select BLK_DEV_IDEDMA
select DMA_NONPCI
help help
Enable this to get support for ATA/IDE. Enable this to get support for ATA/IDE.
You can't use parallell ports or SCSI ports You can't use parallell ports or SCSI ports
at the same time. at the same time.
# here we should add the CONFIG_'s necessary to enable the basic
# general ide drivers so the common case does not need to go
# into that config submenu. enable disk and CD support. others
# need to go fiddle in the submenu..
config IDE
tristate
depends on ETRAX_IDE
default y
config BLK_DEV_IDE
tristate
depends on ETRAX_IDE
default y
config BLK_DEV_IDEDISK
tristate
depends on ETRAX_IDE
default y
config BLK_DEV_IDECD
tristate
depends on ETRAX_IDE
default y
config BLK_DEV_IDEDMA
bool
depends on ETRAX_IDE
default y
config DMA_NONPCI
bool
depends on ETRAX_IDE
default y
config ETRAX_IDE_DELAY config ETRAX_IDE_DELAY
int "Delay for drives to regain consciousness" int "Delay for drives to regain consciousness"
......
# $Id: Makefile,v 1.4 2003/07/04 12:57:13 tobiasa Exp $ # $Id: Makefile,v 1.5 2004/06/02 08:24:38 starvik Exp $
# #
# Makefile for the linux kernel. # Makefile for the linux kernel.
# #
...@@ -11,6 +11,7 @@ obj-y := entry.o traps.o shadows.o debugport.o irq.o \ ...@@ -11,6 +11,7 @@ obj-y := entry.o traps.o shadows.o debugport.o irq.o \
obj-$(CONFIG_ETRAX_KGDB) += kgdb.o obj-$(CONFIG_ETRAX_KGDB) += kgdb.o
obj-$(CONFIG_ETRAX_FAST_TIMER) += fasttimer.o obj-$(CONFIG_ETRAX_FAST_TIMER) += fasttimer.o
obj-$(CONFIG_MODULES) += crisksyms.o
clean: clean:
...@@ -26,6 +26,7 @@ SECTIONS ...@@ -26,6 +26,7 @@ SECTIONS
.text : { .text : {
*(.text) *(.text)
SCHED_TEXT SCHED_TEXT
LOCK_TEXT
*(.fixup) *(.fixup)
*(.text.__*) *(.text.__*)
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment