Re: 'make arch/x86/' fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, May 27, 2008 at 08:14:31PM +0200, Vegard Nossum wrote:
> Hi,
> 
> I don't know if this is a regression or what (I've observed it for a
> while), but now I thought I'd let you know about it:
> 
> $ make arch/x86/
>   CHK     include/linux/version.h
>   CHK     include/linux/utsrelease.h
>   CC      kernel/bounds.s
>   GEN     include/linux/bounds.h
>   CC      arch/x86/kernel/asm-offsets.s
>   GEN     include/asm-x86/asm-offsets.h
>   CALL    scripts/checksyscalls.sh
> [...]/linux-2.6/arch/x86/Makefile:37: *** Recursive variable
> `KBUILD_CFLAGS' references itself (eventually).  Stop.
> make: *** [arch/x86/] Error 2

This is unfortunately what you should expect
because the directory arch/x86/ is special as it does
not contain a regular Kbuild file but instead contains
a badly named arch configuration file (Makefile).

> 
> Are there any work-arounds or easy fixes for this? Thanks.
For each directory in arch/x86/* do make arch/x86/{directory}

	Sam
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux