summaryrefslogtreecommitdiff
path: root/packages/gmp
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2006-08-08 09:21:26 +0000
committerMarcin Juszkiewicz <hrw@openembedded.org>2006-08-08 09:21:26 +0000
commit1adf1c842a2e0ba55b4f01a9c12f0e3096bf0628 (patch)
tree07a76d417747ccb8ae2273a3ca35ffff463a59d2 /packages/gmp
parent8979ceed2e9ed94a2022a1c760bdec38e16e05d0 (diff)
parente1aa79108dc9335cee9aab3d0e5d60e8de473c46 (diff)
merge of '22a005b824014688c2c41c2dba34c42bf145a946'
and '8e90244a719ea0f6cc33218bf925484a5a4e1855'
Diffstat (limited to 'packages/gmp')
-rw-r--r--packages/gmp/gmp-native_4.1.2.bb18
1 files changed, 17 insertions, 1 deletions
diff --git a/packages/gmp/gmp-native_4.1.2.bb b/packages/gmp/gmp-native_4.1.2.bb
index 9a35da292b..c3d36e0fdb 100644
--- a/packages/gmp/gmp-native_4.1.2.bb
+++ b/packages/gmp/gmp-native_4.1.2.bb
@@ -1,7 +1,23 @@
-include gmp_${PV}.bb
+require gmp_${PV}.bb
FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/gmp-${PV}"
S = "${WORKDIR}/gmp-${PV}"
inherit native
+# darwin 'hacks'
+EXTRA_OECONF_build-darwin = " --enable-shared "
+OLD_STAGING := "${STAGING_BINDIR}"
+OLD_TARGET := "${TARGET_SYS}"
+OLD_HOST := "${HOST_SYS}"
+OLD_BUILD := "${BUILD_SYS}"
+
+PATH_prepend_build-darwin = "${OLD_STAGING}/${OLD_HOST}:${OLD_STAGING}:"
+
+TARGET_SYS_build-darwin = "none-apple-darwin"
+HOST_SYS_build-darwin = "none-apple-darwin"
+BUILD_SYS_build-darwin = "none-apple-darwin"
+
+do_compile_append_build-darwin() {
+ oe_runmake check
+}