[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080306081658.GA21135@flint.arm.linux.org.uk>
Date: Thu, 6 Mar 2008 08:16:58 +0000
From: Russell King <rmk+lkml@....linux.org.uk>
To: Andi Kleen <ak@...e.de>
Cc: Jiri Slaby <jirislaby@...il.com>,
Harvey Harrison <harvey.harrison@...il.com>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [JANITOR-PATCH] rtc: switch to unlocked_ioctl
On Wed, Mar 05, 2008 at 11:16:45AM +0100, Andi Kleen wrote:
> One easy way to do that is to do an allyesconfig build once and
> save the log
Don't bother. As I keep saying and have been saying since the all*config
targets were introduced, they're useless for ARM, because ARM is soo
diverse.
You need to find a platform configuration which uses the file.
Eg,
$ grep rtctime arch/arm/common/Makefile
obj-y += rtctime.o
In this case, any one will do.
But lets say you modify arch/arm/common/uengine.c:
$ grep uengine arch/arm/common/Makefile
obj-$(CONFIG_ARCH_IXP2000) += uengine.o
obj-$(CONFIG_ARCH_IXP23XX) += uengine.o
$ grep CONFIG_ARCH_IXP2000= arch/arm/configs/*
arch/arm/configs/ixp2000_defconfig:CONFIG_ARCH_IXP2000=y
$ grep CONFIG_ARCH_IXP23XX= arch/arm/configs/*
arch/arm/configs/ixp23xx_defconfig:CONFIG_ARCH_IXP23XX=y
So now you know you need to use ixp2000_defconfig or ixp23xx_defconfig as
a basis for building uengine.c. (which is reasonable because it's an
IXP2000 or IXP2300 specific support file.)
--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of:
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists