diff options
author | Marcin Juszkiewicz <hrw@openembedded.org> | 2007-02-07 08:47:48 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openembedded.org> | 2007-02-07 08:47:48 +0000 |
commit | 998bff3949f3b98a566294c9c081d2845ea864c5 (patch) | |
tree | b00bac10bf06a2ea581b04f949bbb56bd8141eae | |
parent | 7f5ca0340d1387c3a1121bd1dd2a81d2e9364fdb (diff) |
mono: make mono-native buildable not only on ARM
-rw-r--r-- | packages/mono/mono-native_1.2.2.1.bb | 4 | ||||
-rw-r--r-- | packages/mono/mono.inc | 17 | ||||
-rw-r--r-- | packages/mono/mono_1.2.2.1.bb | 16 |
3 files changed, 19 insertions, 18 deletions
diff --git a/packages/mono/mono-native_1.2.2.1.bb b/packages/mono/mono-native_1.2.2.1.bb index 01b795f03e..67651ae565 100644 --- a/packages/mono/mono-native_1.2.2.1.bb +++ b/packages/mono/mono-native_1.2.2.1.bb @@ -1,6 +1,4 @@ -require mono_${PV}.bb - -S = "${WORKDIR}/mono-${PV}" +require mono.inc DEPENDS = "glib-2.0-native" diff --git a/packages/mono/mono.inc b/packages/mono/mono.inc new file mode 100644 index 0000000000..444427ea4a --- /dev/null +++ b/packages/mono/mono.inc @@ -0,0 +1,17 @@ +DESCRIPTION = "Mono Programming Language" +SECTION = "devel/mono" +LICENSE = "GPL LGPL X11" + +SRC_URI = "http://go-mono.com/sources/mono/mono-${PV}.tar.gz \ + file://cpu-arm.h" + +S = "${WORKDIR}/mono-${PV}" + +inherit autotools + +EXTRA_OECONF = "--disable-mcs-build" +EXTRA_OECONF_arm = "--without-tls" + +do_compile_prepend() { + cp ${WORKDIR}/cpu-arm.h ${S}/mono/mini/ +} diff --git a/packages/mono/mono_1.2.2.1.bb b/packages/mono/mono_1.2.2.1.bb index f786001627..57230e8426 100644 --- a/packages/mono/mono_1.2.2.1.bb +++ b/packages/mono/mono_1.2.2.1.bb @@ -1,19 +1,5 @@ -DESCRIPTION = "Mono Programming Language" -SECTION = "devel/mono" -LICENSE = "GPL LGPL X11" +require mono.inc DEPENDS = "mono-native glib-2.0" #We only have a cpu-${arch}.h from arm, so let's mask out non-working architectures COMPATIBLE_HOST = "arm.*-linux" - -SRC_URI = "http://go-mono.com/sources/mono/mono-${PV}.tar.gz \ - file://cpu-arm.h" - -inherit autotools - -EXTRA_OECONF = "--disable-mcs-build" -EXTRA_OECONF_arm = "--without-tls" - -do_compile_prepend() { - cp ${WORKDIR}/cpu-arm.h ${S}/mono/mini/ -} |