diff mbox series

mono: only available for x86/x86-64 host architectures

Message ID 20180302074929.21404-1-peter@korsgaard.com
State Accepted
Commit 6d67841bf563baec9452ccdf7287128f1ee2ae00
Headers show
Series mono: only available for x86/x86-64 host architectures | expand

Commit Message

Peter Korsgaard March 2, 2018, 7:49 a.m. UTC
Fixes:

http://autobuild.buildroot.net/results/3cab7b54390feb5f952407f1e7fa49b9633a5f76/
http://autobuild.buildroot.net/results/ad9fc1f8a598d2c1ee7e6f8884f897f7b8bbb657/

And many others.

Mono needs host-mono, which fails to build on the ppc64le autobuilder.
There is unlikely to be any real use cases of people building mono on !x86,
so only make it available on x86/x86-64 hosts, similar to how it was
recently done for erlang.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 package/mono/Config.in | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Thomas Petazzoni March 2, 2018, 1:27 p.m. UTC | #1
Hello,

On Fri,  2 Mar 2018 08:49:29 +0100, Peter Korsgaard wrote:
> Fixes:
> 
> http://autobuild.buildroot.net/results/3cab7b54390feb5f952407f1e7fa49b9633a5f76/
> http://autobuild.buildroot.net/results/ad9fc1f8a598d2c1ee7e6f8884f897f7b8bbb657/
> 
> And many others.
> 
> Mono needs host-mono, which fails to build on the ppc64le autobuilder.
> There is unlikely to be any real use cases of people building mono on !x86,
> so only make it available on x86/x86-64 hosts, similar to how it was
> recently done for erlang.
> 
> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>

Acked-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>

Thanks!

Thomas
Angelo Compagnucci March 2, 2018, 2:14 p.m. UTC | #2
2018-03-02 14:27 GMT+01:00 Thomas Petazzoni <thomas.petazzoni@bootlin.com>:
> Hello,
>
> On Fri,  2 Mar 2018 08:49:29 +0100, Peter Korsgaard wrote:
>> Fixes:
>>
>> http://autobuild.buildroot.net/results/3cab7b54390feb5f952407f1e7fa49b9633a5f76/
>> http://autobuild.buildroot.net/results/ad9fc1f8a598d2c1ee7e6f8884f897f7b8bbb657/
>>
>> And many others.
>>
>> Mono needs host-mono, which fails to build on the ppc64le autobuilder.
>> There is unlikely to be any real use cases of people building mono on !x86,
>> so only make it available on x86/x86-64 hosts, similar to how it was
>> recently done for erlang.
>>
>> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
>
> Acked-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>

Acked-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
>
> Thanks!
>
> Thomas
> --
> Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
> Embedded Linux and Kernel engineering
> http://bootlin.com
Peter Korsgaard March 2, 2018, 6:39 p.m. UTC | #3
>>>>> "Peter" == Peter Korsgaard <peter@korsgaard.com> writes:

 > Fixes:
 > http://autobuild.buildroot.net/results/3cab7b54390feb5f952407f1e7fa49b9633a5f76/
 > http://autobuild.buildroot.net/results/ad9fc1f8a598d2c1ee7e6f8884f897f7b8bbb657/

 > And many others.

 > Mono needs host-mono, which fails to build on the ppc64le autobuilder.
 > There is unlikely to be any real use cases of people building mono on !x86,
 > so only make it available on x86/x86-64 hosts, similar to how it was
 > recently done for erlang.

 > Signed-off-by: Peter Korsgaard <peter@korsgaard.com>

Committed, thanks.
diff mbox series

Patch

diff --git a/package/mono/Config.in b/package/mono/Config.in
index d45ad376fe..d162237086 100644
--- a/package/mono/Config.in
+++ b/package/mono/Config.in
@@ -1,5 +1,11 @@ 
+config BR2_PACKAGE_HOST_MONO_ARCH_SUPPORTS
+	bool
+	default y if BR2_HOSTARCH = "x86_64"
+	default y if BR2_HOSTARCH = "x86"
+
 config BR2_PACKAGE_MONO_ARCH_SUPPORTS
 	bool
+	depends on BR2_PACKAGE_HOST_MONO_ARCH_SUPPORTS
 	default y if (BR2_arm || BR2_armeb || BR2_i386 || BR2_mips || \
 		      BR2_mipsel || BR2_powerpc || BR2_x86_64)