package/mono: force host-mono to use internal mono bootstrap compiler
authorAngelo Compagnucci <angelo.compagnucci@gmail.com>
Fri, 28 Nov 2014 23:19:18 +0000 (00:19 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 29 Nov 2014 09:03:54 +0000 (10:03 +0100)
This patch forces the use of internal compiler for building mono,
for more information please refer to mono official documentation
(README.md)

Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/mono/mono.mk

index 23d16f1a6a55c6d760b1449b141127a52b408f35..df67c336bad8ba932e64bbbf3875cd5083652010 100644 (file)
@@ -55,6 +55,8 @@ HOST_MONO_CONF_OPTS += \
        --with-profile4=$(if $(BR2_PACKAGE_MONO_40),yes,no) \
        --with-profile4_5=$(if $(BR2_PACKAGE_MONO_45),yes,no)
 
+HOST_MONO_MAKE_OPTS += EXTERNAL_MCS="$(@D)/mcs/class/lib/monolite/basic.exe"
+
 HOST_MONO_DEPENDENCIES = host-monolite host-gettext
 
 define HOST_MONO_SETUP_MONOLITE