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