All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Vincent Davis Jr" <vince@underview.tech>
To: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH v2] linux-yocto: build out-of-tree drivers with SDK
Date: Mon, 19 May 2025 17:36:13 -0700	[thread overview]
Message-ID: <29559.1747701373120906688@lists.openembedded.org> (raw)
In-Reply-To: <CADkTA4O0-G7ZuQj=H4MqO4aYwwZvQzYPa1TPmOR+hvwTJ5SikQ@mail.gmail.com>

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

On Thu, May 15, 2025 at 12:58 PM, Bruce Ashfield wrote:

> 
> KBUILD_USERHOSTCFLAGS

Hello this patch may be dropped. May just have been an issue with the way I build
the standard SDK in my setup. Cloning poky and building bellow recipe generates
a standard SDK who's kernel source tree can be prepared for out-of-tree driver
development. Should of tried this first.

> 
> cat >> recipes-sdk/images/base-devel-sdk.bb <<EOF
> SUMMARY = "Some Development Standard SDK"
> LICENSE = "MIT"
> inherit populate_sdk
> TOOLCHAIN_TARGET_TASK += "kernel-devsrc"
> EOF
> 

> 
> KBUILD_USERHOSTCFLAGS="${KCFLAGS}" make -e -C
> sysroots/core2-64-poky-linux/lib/modules/6.12.27-yocto-standard/build/
> modules_prepare
> 

Appears to work for me

Thanks,
Vincent

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

  reply	other threads:[~2025-05-20  0:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-13  3:55 [PATCH v2] linux-yocto: build out-of-tree drivers with SDK Vincent Davis Jr
2025-05-13  3:57 ` Vincent Davis Jr
2025-05-15 17:58 ` [OE-core] " Bruce Ashfield
2025-05-20  0:36   ` Vincent Davis Jr [this message]
2025-05-20  0:44     ` Vincent Davis Jr

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=29559.1747701373120906688@lists.openembedded.org \
    --to=vince@underview.tech \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.