summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2007-02-07 08:47:48 +0000
committerMarcin Juszkiewicz <hrw@openembedded.org>2007-02-07 08:47:48 +0000
commit998bff3949f3b98a566294c9c081d2845ea864c5 (patch)
treeb00bac10bf06a2ea581b04f949bbb56bd8141eae /packages
parent7f5ca0340d1387c3a1121bd1dd2a81d2e9364fdb (diff)
mono: make mono-native buildable not only on ARM
Diffstat (limited to 'packages')
-rw-r--r--packages/mono/mono-native_1.2.2.1.bb4
-rw-r--r--packages/mono/mono.inc17
-rw-r--r--packages/mono/mono_1.2.2.1.bb16
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/
-}