All of lore.kernel.org
 help / color / mirror / Atom feed
* Build external module against Yocto kernel
@ 2013-01-14 23:27 Patrick Turley
  2013-01-15 17:07 ` Brian Lloyd
  0 siblings, 1 reply; 31+ messages in thread
From: Patrick Turley @ 2013-01-14 23:27 UTC (permalink / raw)
  To: yocto@yoctoproject.org

I have to build a module from a third-party that has nothing to do with Yocto.

I want to build this module against the kernel Yocto is giving me.

The Make file for this module has a build command like this:

    make -C $(LINUX_DIR) M=`pwd` $(ENV) \
        EXTRA_CFLAGS="$(EXTRA_CFLAGS)" modules

Obviously, this command needs to connect with either the Linux source tree or something like a "kernel-headers" package.

I used the meta-toolchain-sdk recipe to produce an SDK, and I installed it. Unfortunately, I don't see a "kernel-header" equivalent in there.

This leads me to imagine I must point this command at some sub-tree within the Yocto output (probably under tmp/sysroots). And, if I want that tree available elsewhere, I have to package it up into a tarball and transport it.

Usually, Yocto is way ahead of me on these sorts of things, and there's already a graceful way to deal with this -- I just haven't figure it out yet.

What am I missing?



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

end of thread, other threads:[~2013-02-02  5:16 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-14 23:27 Build external module against Yocto kernel Patrick Turley
2013-01-15 17:07 ` Brian Lloyd
2013-01-15 17:09   ` Brian Lloyd
2013-01-15 17:54     ` Patrick Turley
2013-01-15 18:00       ` Bruce Ashfield
2013-01-15 18:26         ` Patrick Turley
2013-01-15 18:38           ` Bruce Ashfield
2013-01-15 19:16             ` Zhang, Jessica
2013-01-22 19:52               ` Patrick Turley
2013-01-16 17:11             ` Darren Hart
2013-01-21 21:21               ` Patrick Turley
2013-01-22 12:34                 ` Christian Ege
2013-01-22 20:28               ` Patrick Turley
2013-01-22 20:34                 ` Bruce Ashfield
2013-01-23  2:26                   ` Patrick Turley
2013-01-23  4:43                     ` Bruce Ashfield
2013-01-23  5:14                       ` Patrick Turley
2013-01-23  5:17                         ` Bruce Ashfield
2013-01-23  5:34                           ` Patrick Turley
2013-01-23 13:48                             ` Bruce Ashfield
2013-01-23 15:17                               ` Patrick Turley
2013-01-24 19:58                                 ` John Mehaffey
2013-01-24 20:10                                   ` Bruce Ashfield
2013-01-25  1:34                                     ` John Mehaffey
2013-02-01  4:50                                 ` Bruce Ashfield
2013-02-02  0:48                                   ` Patrick Turley
2013-02-02  4:35                                     ` Brian Lloyd
2013-02-02  4:51                                       ` Bruce Ashfield
2013-02-02  4:48                                     ` Bruce Ashfield
2013-02-02  5:12                                       ` Brian Lloyd
2013-02-02  5: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.