Skip to contentSkip to conversation

Arm and allyesconfig, allnoconfig, allmodconfig and randconfig

DISCUSSION Jack Stone 2 participants 3 messages Apr 30, 2009 Documentation

lore
Share & tools
lore

Jack Stone

author
#0 lore raw

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

#1 lore raw
Quoted 6 lines · Jack Stone

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.)

Quoted 1 line

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

Patches welcome.

author
#2 lore raw
Quoted 1 line · Russell King - ARM Linux

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.

---

 Documentation/arm/README |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
Documentation/arm/README +1 -0
index d98783f..8239e5f 100644
@@ -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
---------------