All of lore.kernel.org
 help / color / mirror / Atom feed
* compiling out-of-tree modules with master
@ 2015-12-01 16:57 Stuart Weaver
  2015-12-01 17:16 ` Bruce Ashfield
  0 siblings, 1 reply; 2+ messages in thread
From: Stuart Weaver @ 2015-12-01 16:57 UTC (permalink / raw)
  To: yocto@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 1140 bytes --]

Hi All,

I'm currently merging my Yocto repo up to master (from Daisy). I'm having problems compiling some of the out-of-tree modules that we have which I've tracked down to the Makefiles looking for:

include/generated/autoconf.h
include/generated/uapi/linux/version.h

Now I originally had to heavily patch these Makefiles to include variables like KERNEL_SRC and KERNEL_VERSION as they were just calling shell commands (e.g. echo uname -a). However the KERNEL_SRC is pointing to the new location of the source in 'work-shared' where none of the generated .h files are.

Could someone inform on the differences in workflow and which variables I should be using to point to the build source of the kernel (i.e. work/corei7-intel-common-poky-linux/linuux-yocto/3.19.5..../linux-corei7-64-intel-common-standard-build)?

Best Regards,
Stuart


______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________

[-- Attachment #2: Type: text/html, Size: 3940 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: compiling out-of-tree modules with master
  2015-12-01 16:57 compiling out-of-tree modules with master Stuart Weaver
@ 2015-12-01 17:16 ` Bruce Ashfield
  0 siblings, 0 replies; 2+ messages in thread
From: Bruce Ashfield @ 2015-12-01 17:16 UTC (permalink / raw)
  To: Stuart Weaver, yocto@yoctoproject.org

On 15-12-01 11:57 AM, Stuart Weaver wrote:
> Hi All,
>
> I’m currently merging my Yocto repo up to master (from Daisy). I’m
> having problems compiling some of the out-of-tree modules that we have
> which I’ve tracked down to the Makefiles looking for:
>
> include/generated/autoconf.h
>
> include/generated/uapi/linux/version.h
>
> Now I originally had to heavily patch these Makefiles to include
> variables like KERNEL_SRC and KERNEL_VERSION as they were just calling
> shell commands (e.g. echo uname –a). However the KERNEL_SRC is pointing
> to the new location of the source in ‘work-shared’ where none of the
> generated .h files are.


STAGING_KERNEL_BUILDDIR is what you want. That's where all the artifacts
of the build required for external module builds are placed.

Bruce

>
> Could someone inform on the differences in workflow and which variables
> I should be using to point to the build source of the kernel (i.e.
> work/corei7-intel-common-poky-linux/linuux-yocto/3.19.5…./linux-corei7-64-intel-common-standard-build)?
>
> *Best Regards,*
>
> *Stuart*
>
>
> ______________________________________________________________________
> This email has been scanned by the Symantec Email Security.cloud service.
> For more information please visit http://www.symanteccloud.com
> ______________________________________________________________________
>
>



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-12-01 17:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-01 16:57 compiling out-of-tree modules with master Stuart Weaver
2015-12-01 17:16 ` Bruce Ashfield

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.