All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andreas Ziegler <br015@umbiko.net>
To: buildroot@busybox.net
Subject: [Buildroot] Question Linux-Module infrastructure
Date: Tue, 20 Jul 2021 05:03:20 +0000	[thread overview]
Message-ID: <d86c56879ede4cf090f30bac7364429f@umbiko.net> (raw)
In-Reply-To: <mailman.9992.1626731586.223516.buildroot@busybox.net>

Hi Jacques,

On 2021-07-19 21:53, Jacques Samoun <jacques.samoun33@gmail.com> wrote:

> Hello,
> 
> I am using external tree build in my project. Trying to add a linux 
> kernel
> driver that i am developing.
> My problem is that, the sources of my driver are not flat but arranged, 
> for
> various reasons in the following manner:
> <mydriver>
>                <some files>
>                <top makefile>
>               +--- inc
>                    <shared includes>
>               +--- user
>                      <files>
>                       <Makefile>
>               +--- kernel
>                        <files>
>                        <Makefile>
> 
> My hal.mk is  (hal is the name of the package)
> 
> HAL_VERSION = 1.0.0
> HAL_SITE =  ../top/source/hal
> HAL_SITE_METHOD = local

You probably just need a statement to point the kernel build to the 
correct subdirectory:

HAL_MODULE_SUBDIRS = kernel

Kind regards,
Andreas

       reply	other threads:[~2021-07-20  5:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.9992.1626731586.223516.buildroot@busybox.net>
2021-07-20  5:03 ` Andreas Ziegler [this message]
2021-07-20  6:21   ` [Buildroot] [SOLVED] Re: Question Linux-Module infrastructure Jacques Samoun
2021-07-19 16:16 [Buildroot] " Jacques Samoun
2021-07-19 16:16 ` Jacques Samoun

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=d86c56879ede4cf090f30bac7364429f@umbiko.net \
    --to=br015@umbiko.net \
    --cc=buildroot@busybox.net \
    /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.