All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Builroot - android ndk
@ 2017-04-15 17:38 Alvaro Denis
  2017-04-16  8:19 ` Thomas Petazzoni
  0 siblings, 1 reply; 3+ messages in thread
From: Alvaro Denis @ 2017-04-15 17:38 UTC (permalink / raw)
  To: buildroot

Hello all,
In some point the documentation say:

"We do not support toolchains or SDK generated by OpenEmbedded or Yocto,
because these toolchains are not pure toolchains (i.e. just the compiler,
binutils, the C and C++ libraries). Instead these toolchains come with a
very large set of pre-compiled libraries and programs. Therefore, Buildroot
cannot import the *sysroot* of the toolchain, as it would contain hundreds
of megabytes of pre-compiled libraries that are normally built by Buildroot.
"

If I build the toolchain using make_standalone_toolchain.py
<https://developer.android.com/ndk/guides/standalone_toolchain.html>
it is a "pure toolchain"? it can be used in buildroot as preintstaled
toolchain?

Thanks in advance :)
<https://developer.android.com/ndk/guides/standalone_toolchain.html>




Ing. Alvaro Denis Acosta
[image: https://]about.me/denisacostaq
<https://about.me/denisacostaq?promo=email_sig&utm_source=email_sig&utm_medium=email_sig&utm_campaign=external_links>


[image: --]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20170415/b6a16855/attachment.html>

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

* [Buildroot] Builroot - android ndk
  2017-04-15 17:38 [Buildroot] Builroot - android ndk Alvaro Denis
@ 2017-04-16  8:19 ` Thomas Petazzoni
  2017-04-26  6:51   ` Peter Korsgaard
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2017-04-16  8:19 UTC (permalink / raw)
  To: buildroot

Hello,

On Sat, 15 Apr 2017 13:38:05 -0400, Alvaro Denis wrote:

> If I build the toolchain using make_standalone_toolchain.py
> <https://developer.android.com/ndk/guides/standalone_toolchain.html>
> it is a "pure toolchain"? it can be used in buildroot as preintstaled
> toolchain?

We have never tested Android toolchains, so I don't know. However, what
is sure is that those toolchains use the bionic C library, which we
don't support. And you most likely won't be able to build most of the
Linux applications against bionic, at  least not without some effort.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

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

* [Buildroot] Builroot - android ndk
  2017-04-16  8:19 ` Thomas Petazzoni
@ 2017-04-26  6:51   ` Peter Korsgaard
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2017-04-26  6:51 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > Hello,
 > On Sat, 15 Apr 2017 13:38:05 -0400, Alvaro Denis wrote:

 >> If I build the toolchain using make_standalone_toolchain.py
 >> <https://developer.android.com/ndk/guides/standalone_toolchain.html>
 >> it is a "pure toolchain"? it can be used in buildroot as preintstaled
 >> toolchain?

 > We have never tested Android toolchains, so I don't know. However, what
 > is sure is that those toolchains use the bionic C library, which we
 > don't support. And you most likely won't be able to build most of the
 > Linux applications against bionic, at  least not without some effort.

But you can afaik combine a Buildroot rootfs (built against
glibc/musl/uclibc) with an android rootfs without much problems, as the
same paths aren't used. In the worst case you can do a static build.

-- 
Bye, Peter Korsgaard

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

end of thread, other threads:[~2017-04-26  6:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-15 17:38 [Buildroot] Builroot - android ndk Alvaro Denis
2017-04-16  8:19 ` Thomas Petazzoni
2017-04-26  6:51   ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.