* [PATCH 1/10] CRIS architecture update - Configuration and build
@ 2004-11-02 13:04 Mikael Starvik
0 siblings, 0 replies; only message in thread
From: Mikael Starvik @ 2004-11-02 13:04 UTC (permalink / raw)
To: linux-kernel, akpm
[-- Attachment #1: Type: text/plain, Size: 141 bytes --]
This patch contains changes to configuration and build system to make CRIS
up to date with 2.6.9.
Signed-Off-By: starvik@axis.com
/Mikael
[-- Attachment #2: cris269_1.patch --]
[-- Type: application/octet-stream, Size: 4547 bytes --]
diff -urNP --exclude='*.cvsignore' ../linux/arch/cris/Kconfig.debug lx25/arch/cris/Kconfig.debug
--- ../linux/arch/cris/Kconfig.debug Mon Oct 18 23:55:36 2004
+++ lx25/arch/cris/Kconfig.debug Tue Oct 19 15:07:34 2004
@@ -1,15 +1,11 @@
menu "Kernel hacking"
-source "lib/Kconfig.debug"
-
#bool 'Debug kmalloc/kfree' CONFIG_DEBUG_MALLOC
-config PROFILE
+config PROFILING
bool "Kernel profiling support"
-config PROFILE_SHIFT
- int "Profile shift count"
- depends on PROFILE
- default "2"
+config SYSTEM_PROFILER
+ bool "System profiling support"
config ETRAX_KGDB
bool "Use kernel GDB debugger"
@@ -25,4 +21,21 @@
didn't before). The kernel halts when it boots, waiting for gdb if
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
diff -urNP --exclude='*.cvsignore' ../linux/arch/cris/Makefile lx25/arch/cris/Makefile
--- ../linux/arch/cris/Makefile Mon Oct 18 23:54:07 2004
+++ lx25/arch/cris/Makefile Tue Oct 19 15:07:34 2004
@@ -1,4 +1,4 @@
-# $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
#
# This file is included by the global makefile so that you can add your own
@@ -80,7 +81,7 @@
archmrproper:
archclean:
$(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
prepare: arch/$(ARCH)/.links include/asm-$(ARCH)/.arch \
diff -urNP --exclude='*.cvsignore' ../linux/arch/cris/arch-v10/drivers/Kconfig lx25/arch/cris/arch-v10/drivers/Kconfig
--- ../linux/arch/cris/arch-v10/drivers/Kconfig Mon Oct 18 23:53:43 2004
+++ lx25/arch/cris/arch-v10/drivers/Kconfig Tue Oct 12 09:55:08 2004
@@ -549,44 +549,17 @@
config ETRAX_IDE
bool "ATA/IDE support"
- help
+ select IDE
+ select BLK_DEV_IDE
+ select BLK_DEV_IDEDISK
+ select BLK_DEV_IDECD
+ select BLK_DEV_IDEDMA
+ select DMA_NONPCI
+ help
Enable this to get support for ATA/IDE.
You can't use parallell ports or SCSI ports
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
int "Delay for drives to regain consciousness"
diff -urNP --exclude='*.cvsignore' ../linux/arch/cris/arch-v10/kernel/Makefile lx25/arch/cris/arch-v10/kernel/Makefile
--- ../linux/arch/cris/arch-v10/kernel/Makefile Mon Oct 18 23:53:05 2004
+++ lx25/arch/cris/arch-v10/kernel/Makefile Wed Jun 2 10:24:38 2004
@@ -1,4 +1,4 @@
-# $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.
#
@@ -11,6 +11,7 @@
obj-$(CONFIG_ETRAX_KGDB) += kgdb.o
obj-$(CONFIG_ETRAX_FAST_TIMER) += fasttimer.o
+obj-$(CONFIG_MODULES) += crisksyms.o
clean:
diff -urNP --exclude='*.cvsignore' ../linux/arch/cris/arch-v10/vmlinux.lds.S lx25/arch/cris/arch-v10/vmlinux.lds.S
--- ../linux/arch/cris/arch-v10/vmlinux.lds.S Mon Oct 18 23:53:51 2004
+++ lx25/arch/cris/arch-v10/vmlinux.lds.S Tue Oct 19 15:07:36 2004
@@ -26,6 +26,7 @@
.text : {
*(.text)
SCHED_TEXT
+ LOCK_TEXT
*(.fixup)
*(.text.__*)
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-11-02 13:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-02 13:04 [PATCH 1/10] CRIS architecture update - Configuration and build Mikael Starvik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®