[-mm patch] avr32: set KBUILD_DEFCONFIG
From: Adrian Bunk
Date: Tue Aug 22 2006 - 10:56:30 EST
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@xxxxxxxxx> 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
<-- snip -->
This patch sets KBUILD_DEFCONFIG for enabling "make defconfig".
Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>
--- 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 @@
all: uImage vmlinux.elf linux.lst
+KBUILD_DEFCONFIG := at32stk1002_defconfig
CFLAGS += -pipe -fno-builtin -mno-pic
AFLAGS += -mrelax -mno-pic
CFLAGS_MODULE += -mno-relax
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/