From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] Analysis of build results for 2018-02-25
Date: Mon, 26 Feb 2018 11:58:54 +0100 [thread overview]
Message-ID: <20180226115854.0f07b0d5@windsurf.lan> (raw)
In-Reply-To: <CAJtjsKYkA53_yxOmB4jxy1Kc=iWEWrKYyz2GLKTKhSs7UMGCZw@mail.gmail.com>
Hello,
On Mon, 26 Feb 2018 11:51:41 +0100, Johan Oudinet wrote:
> > I propose that we make erlang depend on x86/x86_64 as host
> > architecture. Johan, Frank, are you OK ?
>
> Yes, I agree with making host-erlang depends on x86/x86_64
> architectures. I never compile it from another architecture anyway. I
> looked at existing patches to such errors, but find nothing that make
> Erlang successfully compiled from a powerpc or an arm host.
> What is the exact option to add to Config.in to achieve this?
> Do you want me to submit a patch or you do it?
Since there is nothing that selects BR2_PACKAGE_ERLANG, it's pretty
easy as there only one place to modify.
I think I would keep it simple and in package/erlang/Config.in, do:
config BR2_PACKAGE_HOST_ERLANG_ARCH_SUPPORTS
bool
default y if BR2_HOSTARCH = "x86_64"
default y if BR2_HOSTARCH = "x86"
config BR2_PACKAGE_ERLANG_ARCH_SUPPORTS
bool
... keep existing code ...
# erlang needs host-erlang
depends on BR2_PACKAGE_HOST_ERLANG_ARCH_SUPPORTS
And be done with it :)
If you could submit a patch doing this, it'd be nice. Thanks!
Thomas
--
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
http://bootlin.com
next prev parent reply other threads:[~2018-02-26 10:58 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-26 7:00 [Buildroot] [autobuild.buildroot.net] Build results for 2018-02-25 Thomas Petazzoni
2018-02-26 10:33 ` [Buildroot] Analysis of build " Thomas Petazzoni
2018-02-26 10:51 ` Johan Oudinet
2018-02-26 10:58 ` Thomas Petazzoni [this message]
2018-02-26 13:44 ` Frank Hunleth
2018-02-26 12:48 ` Peter Korsgaard
2018-02-26 13:00 ` Thomas Petazzoni
2018-02-26 14:06 ` Peter Korsgaard
2018-02-26 14:47 ` Thomas Petazzoni
2018-02-26 19:01 ` Peter Korsgaard
2018-03-01 19:41 ` Arnout Vandecappelle
2018-03-01 21:17 ` Peter Korsgaard
2018-02-27 12:08 ` Peter Seiderer
2018-02-27 13:12 ` Peter Korsgaard
2018-02-26 15:30 ` Mahyar Koshkouei
2018-02-26 15:40 ` Thomas Petazzoni
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=20180226115854.0f07b0d5@windsurf.lan \
--to=thomas.petazzoni@bootlin.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