linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Cross compiling libnl, iw, crda and friends
@ 2009-06-09 19:54 Jon Loeliger
  2009-06-09 20:00 ` John W. Linville
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Jon Loeliger @ 2009-06-09 19:54 UTC (permalink / raw)
  To: linux-wireless

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.
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



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-06-10 15:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2009-06-10 14:59   ` Jon Loeliger

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).