From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] Kernel module compiled but not found
Date: Sun, 13 Oct 2013 17:05:41 +0200 [thread overview]
Message-ID: <20131013170541.398d8907@skate> (raw)
In-Reply-To: <525AB5F9.8090907@gmail.com>
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
Macro, can you post your current package (.mk file and Config.in files,
or even better, a patch against Buildroot), so that we can potentially
reproduce your issue and help you solve it?
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
next prev parent reply other threads:[~2013-10-13 15:05 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 [this message]
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
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=20131013170541.398d8907@skate \
--to=thomas.petazzoni@free-electrons.com \
--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