public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@stusta.de>
To: Haavard Skinnemoen <hskinnemoen@atmel.com>
Cc: avr32@atmel.com, linux-kernel@vger.kernel.org,
	Andrew Morton <akpm@osdl.org>
Subject: [-mm patch] avr32: set KBUILD_DEFCONFIG
Date: Tue, 22 Aug 2006 16:59:09 +0200	[thread overview]
Message-ID: <20060822145909.GZ11651@stusta.de> (raw)
In-Reply-To: <20060822141547.3f92c1ab@cad-250-152.norway.atmel.com>

On Tue, Aug 22, 2006 at 02:15:47PM +0200, Haavard Skinnemoen wrote:
> On Thu, 17 Aug 2006 01:13:40 +0200
> Adrian Bunk <bunk@stusta.de> wrote:
> 
> > Please add an arch/avr32/defconfig.
> > 
> > The purposes of a defconfig are:
> > - starting point for people compiling their own kernel
> > - usable configuration for compile tests
> > 
> > It doesn't need to be anything special, e.g. a working .config from a 
> > machine you are using would be a suitable defconfig.
> 
> The patch below adds a defconfig which is essentially the same as
> at32stk1002_defconfig. I just ran it through oldconfig to make sure
> it's sane.

Ups, I missed at32stk1002_defconfig.

In this case, the simple patch below is the solution instead.

> Thanks for testing -- I assume you managed to get the
> toolchain up and running :)

I can only test the compilation due to lack of hardware, but using your 
patches it was easy building binutils 2.16.1 and gcc 4.0.3 cross 
compilers.

>...
> Haavard
>...

cu
Adrian


<--  snip  -->


This patch sets KBUILD_DEFCONFIG for enabling "make defconfig".

Signed-off-by: Adrian Bunk <bunk@stusta.de>

--- linux-2.6.18-rc4-mm2/arch/avr32/Makefile.old	2006-08-22 16:47:43.000000000 +0200
+++ linux-2.6.18-rc4-mm2/arch/avr32/Makefile	2006-08-22 16:49:09.000000000 +0200
@@ -9,6 +9,8 @@
 .PHONY: all
 all: uImage vmlinux.elf linux.lst
 
+KBUILD_DEFCONFIG	:= at32stk1002_defconfig
+
 CFLAGS		+= -pipe -fno-builtin -mno-pic
 AFLAGS		+= -mrelax -mno-pic
 CFLAGS_MODULE	+= -mno-relax


      reply	other threads:[~2006-08-22 14:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-16 23:13 please add an arch/avr32/defconfig Adrian Bunk
2006-08-22 12:15 ` Haavard Skinnemoen
2006-08-22 14:59   ` Adrian Bunk [this message]

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=20060822145909.GZ11651@stusta.de \
    --to=bunk@stusta.de \
    --cc=akpm@osdl.org \
    --cc=avr32@atmel.com \
    --cc=hskinnemoen@atmel.com \
    --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