mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Mikael Starvik" <mikael.starvik@axis.com>
To: <linux-kernel@vger.kernel.org>, <akpm@osdl.org>
Subject: [PATCH 1/10] CRIS architecture update - Configuration and build
Date: Tue, 2 Nov 2004 14:04:30 +0100	[thread overview]
Message-ID: <BFECAF9E178F144FAEF2BF4CE739C668014C7485@exmail1.se.axis.com> (raw)

[-- 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.__*)
 	}

                 reply	other threads:[~2004-11-02 13:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BFECAF9E178F144FAEF2BF4CE739C668014C7485@exmail1.se.axis.com \
    --to=mikael.starvik@axis.com \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®