Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCHv2 2/4] kmod: allow to build a host variant
Date: Mon, 2 Sep 2013 23:48:44 +0200	[thread overview]
Message-ID: <20130902234844.5e078d47@skate> (raw)
In-Reply-To: <87fvtn7xgj.fsf@dell.be.48ers.dk>

Dear Peter Korsgaard,

On Mon, 02 Sep 2013 22:58:04 +0200, Peter Korsgaard wrote:

>  Thomas> +# We only install depmod, since that's the only tool used for the
>  Thomas> +# host.
>  Thomas> +define HOST_KMOD_INSTALL_TOOLS
>  Thomas> +	mkdir -p $(HOST_DIR)/sbin/
>  Thomas> +	ln -sf ../usr/bin/kmod $(HOST_DIR)/sbin/depmod
>  Thomas> +endef
>  Thomas> +
>  Thomas> +HOST_KMOD_POST_INSTALL_HOOKS += HOST_KMOD_INSTALL_TOOLS
>  Thomas> +
> 
> We also need to set HOST_KMOD_AUTORECONF = YES because of the
> configure.ac patch (arguably we should default HOST_<pkg>_AUTORECONF =
> <pkg>_AUTORECONF).

Ah, yes, right. I didn't see the problem since the configure.ac patch
is only to support gcc < 4.6.x on the host, which wasn't my case. But
certainly useful in general indeed.

Thanks,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

  reply	other threads:[~2013-09-02 21:48 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-27 17:28 [Buildroot] [PATCHv2 0/4] Use kmod instead of module-init-tools Thomas Petazzoni
2013-08-27 17:28 ` [Buildroot] [PATCHv2 1/4] kmod: indent properly the KMOD_INSTALL_TOOLS macro Thomas Petazzoni
2013-09-02 20:51   ` Peter Korsgaard
2013-08-27 17:28 ` [Buildroot] [PATCHv2 2/4] kmod: allow to build a host variant Thomas Petazzoni
2013-09-02 20:51   ` Peter Korsgaard
2013-09-02 20:58   ` Peter Korsgaard
2013-09-02 21:48     ` Thomas Petazzoni [this message]
2013-09-02 22:46       ` Peter Korsgaard
2013-09-03  7:02         ` Thomas Petazzoni
2013-08-27 17:28 ` [Buildroot] [PATCHv2 3/4] linux: use kmod instead of module-init-tools Thomas Petazzoni
2013-09-02 20:52   ` Peter Korsgaard
2013-08-27 17:28 ` [Buildroot] [PATCHv2 4/4] module-init-tools: remove package Thomas Petazzoni
2013-09-02 20:53   ` Peter Korsgaard

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=20130902234844.5e078d47@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