From: Samuel Ortiz <samuel@sortiz.org>
To: Jon Loeliger <jdl@bigfootnetworks.com>
Cc: linux-wireless@vger.kernel.org
Subject: Re: Cross compiling libnl, iw, crda and friends
Date: Wed, 10 Jun 2009 00:50:13 +0200 [thread overview]
Message-ID: <1244587813.2628.10.camel@sortiz-mobl> (raw)
In-Reply-To: <1244577286.12185.7.camel@jdl-desktop>
Hi Jon,
On Tue, 2009-06-09 at 14:54 -0500, Jon Loeliger wrote:
> Guys,
>
> Am I missing an obvious solution to cross compiling libnl, iw,
> the crda and related friends?
>
> I have a cross-compiled kernel and headers and such, and I'd
> like to add the various wireless tools into the mix, but I
> think the existing Makefiles are basically unaware of cross
> compiling.
>
> I think there are a couple points of confusion. While we need
> to compile on the host machine, we need to point to the target
> include files which may not be installed in standard locations.
Unless you're looking for a quick and easy fix to build some
one-shot demo image for your target, you may want to start looking
at cross platform build systems, like openembedded, poky or maybe
openwrt.
Cheers,
Samuel.
> The resulting libraries, though, need to be installed in standard
> locations on the target. This combination doesn't seem to be
> recordable in the pkg-config files (libnl-2.0.pc, for example).
>
> Then things like crda and iw need to use the headers from the
> cross-build installation and the cross-kernel, not the host's.
>
> Also, crda seems to have hard paths for the regulatory.bin.
> I want to point to my source package for the build, but then
> install it into a standard location on the target. Feh.
>
> I feel like I'm missing something here...?
>
> Thanks,
> jdl
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2009-06-09 22:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-09 19:54 Cross compiling libnl, iw, crda and friends Jon Loeliger
2009-06-09 20:00 ` John W. Linville
2009-06-09 21:04 ` Felix Fietkau
2009-06-09 21:47 ` Alexandre Becholey - s h o c k f i s h /
2009-06-09 22:50 ` Samuel Ortiz [this message]
2009-06-10 14:59 ` Jon Loeliger
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=1244587813.2628.10.camel@sortiz-mobl \
--to=samuel@sortiz.org \
--cc=jdl@bigfootnetworks.com \
--cc=linux-wireless@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).