2009-04-30 08:29:23

by Jack Stone

[permalink] [raw]
Subject: Arm and allyesconfig, allnoconfig, allmodconfig and randconfig

Hi All,

I've been trying to compile the Arm port of the kernel and noticed that
allyesconfig etc. and randconfig don't seem to compile on Arm - they all
end up with build errors (mostly about missing preprocessor defines eg
__LINUX_ARM_ARCH__). Is this a known problem and if so can it be
documented somewhere?

As another data point I can compile the defconfigs fine.

I tried googling and greping the source for any reference to this but
couldn't see anything. Sorry if this has already been answered.

Thanks,

Jack


2009-04-30 09:32:37

by Russell King - ARM Linux

[permalink] [raw]
Subject: Re: Arm and allyesconfig, allnoconfig, allmodconfig and randconfig

On Thu, Apr 30, 2009 at 10:28:55AM +0200, Jack Stone wrote:
> Hi All,
>
> I've been trying to compile the Arm port of the kernel and noticed that
> allyesconfig etc. and randconfig don't seem to compile on Arm - they all
> end up with build errors (mostly about missing preprocessor defines eg
> __LINUX_ARM_ARCH__).

all*config are basically not supported on ARM. (There are some, eg,
allmodconfig in conjunction with some defconfigs that might compile
but its very hit and miss.)

> Is this a known problem and if so can it be documented somewhere?

Patches welcome.

2009-04-30 12:17:45

by Jack Stone

[permalink] [raw]
Subject: Re: Arm and allyesconfig, allnoconfig, allmodconfig and randconfig



On Thu, 30 Apr 2009 09:33 +0100, "Russell King - ARM Linux"
<[email protected]> wrote:
> Patches welcome.

Is this the sort of thing you meant? I don't know if the text or
location is correct so comments are very welcome.

Thanks,

Jack

Document that ARM doesn't support all*config

From: Jack Stone <[email protected]>

ARM doesn't support all*config. This is because it does not make sense
as
there are so many different variants. Instead the defconfigs should be
used.

Signed-off-by: Jack Stone <[email protected]>
---

Documentation/arm/README | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/Documentation/arm/README b/Documentation/arm/README
index d98783f..8239e5f 100644
--- a/Documentation/arm/README
+++ b/Documentation/arm/README
@@ -36,6 +36,9 @@ Compilation of kernel
(arch/arm/boot/Image). A compressed image can be built by doing a
'make zImage' instead of 'make Image'.

+ NOTE: ARM Linux doesn't support the all*config targets. This is
because of
+ the number of variants supported. The defconfig targets should be
used
+ instead.

Bug reports etc
---------------