Re: kbuild: problems with separate src/obj trees

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

 



Gerd Hoffmann wrote:
>   Hi,
> 
> Trapped into two problems with 2.6.16-rc1:
> 
>   (1) Building kernels with the source tree on a r/o filesystem
>       doesn't work any more because kbuild tries to create
>       $(srctree)/.kernelrelease and fails to do so.
> 
>   (2) UML kernels don't build at all with a separate obj tree:
> 
> master-xen kraxel ~/objtree/vanilla-2.6.16-pre-um# make ARCH=um
> gmake -C /home/kraxel/scratch/vanilla-2.6.16-pre
> O=/home/kraxel/objtree/vanilla-2.6.16-pre-um
>   SYMLINK arch/um/include/kern_constants.h
> ln: creating symbolic link `arch/um/include/kern_constants.h' to
> `../../../include/asm-um/asm-offsets.h': No such file or directory
> gmake[2]: *** [arch/um/include/kern_constants.h] Error 1
> gmake[1]: *** [cdbuilddir] Error 2
> gmake: *** [all] Error 2
> 
> Ideas/Patches anyone?

There was a recen thread about these... let me see:
Look for "[PATCH 2/2] kbuild: fix make -jN with multiple targets with make
O=..." from Sam Ravnborg on 2006-01-16

[It is pushed out at:
git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild.git]

Kalin.

-- 
|[ ~~~~~~~~~~~~~~~~~~~~~~ ]|
+-> http://ThinRope.net/ <-+
|[ ______________________ ]|

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux