Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] Kernel module compiled but not found
Date: Sun, 13 Oct 2013 17:57:51 +0200	[thread overview]
Message-ID: <20131013155751.GC16563@free.fr> (raw)
In-Reply-To: <20131013170541.398d8907@skate>

Thomas, All,

On 2013-10-13 17:05 +0200, Thomas Petazzoni spake thusly:
> Dear Marco Trapanese,
> 
> On Sun, 13 Oct 2013 17:02:17 +0200, Marco Trapanese wrote:
> > Il 13/10/2013 16:51, Yann E. MORIN ha scritto:
> > > You're missing INSTALL_MOD_PATH=$(TARGET_DIR) on this command line 
> > > (the make line for 'MYKMOD_INSTALL_TARGET_CMDS' ). Regards, Yann E. 
> > > MORIN. 
> > 
> > Yann,
> > thank you for your quick answer. I changed the command line (in 
> > sensoray2253/sensoray2253.mk) in this way:
> > 
> > define SENSORAY2253_INSTALL_TARGET_CMDS
> >      $(MAKE) $(LINUX_MAKE_FLAGS) -C $(LINUX_DIR) M=$(@D) 
> > INSTALL_MOD_PATH=$(TARGET_DIR) modules_install
> > endef
> > 
> > Is it correct?
> 
> Adding INSTALL_MOD_PATH should normally not be necessary, since
> LINUX_MAKE_FLAGS already contains INSTALL_MOD_PATH.
> 
> From linux/linux.mk:
> 
> LINUX_MAKE_FLAGS = \
>         HOSTCC="$(HOSTCC)" \
>         HOSTCFLAGS="$(HOSTCFLAGS)" \
>         ARCH=$(KERNEL_ARCH) \
>         INSTALL_MOD_PATH=$(TARGET_DIR) \
>         CROSS_COMPILE="$(CCACHE) $(TARGET_CROSS)" \
>         DEPMOD=$(HOST_DIR)/sbin/depmod

We should document these variables: the list (to have the names of the
variables), their purpose, and their values.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

  parent reply	other threads:[~2013-10-13 15:57 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-13 14:29 [Buildroot] Kernel module compiled but not found Marco Trapanese
2013-10-13 14:51 ` Yann E. MORIN
2013-10-13 15:02   ` Marco Trapanese
2013-10-13 15:05     ` Thomas Petazzoni
2013-10-13 15:19       ` Marco Trapanese
2013-10-13 21:12         ` Arnout Vandecappelle
2013-10-14  7:58           ` Marco Trapanese
2013-10-13 15:57       ` Yann E. MORIN [this message]
2013-10-13 16:53     ` Sagaert Johan
2013-10-13 17:05       ` Marco Trapanese
2013-10-13 15:56 ` Yann E. MORIN
2013-10-13 16:02   ` Marco Trapanese
2013-10-13 20:11 ` Ciarán Rehill

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=20131013155751.GC16563@free.fr \
    --to=yann.morin.1998@free.fr \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox