summaryrefslogtreecommitdiff
path: root/packages/gmp
diff options
context:
space:
mode:
authorTom Rini <trini@embeddedalley.com>2009-01-16 22:59:28 -0500
committerTom Rini <trini@embeddedalley.com>2009-01-16 23:01:21 -0500
commit09a97024fa2285c1af1449df2f04475b442ed34c (patch)
treeb140eb0cff660bb7f092bea1a7ffab017c62a3d2 /packages/gmp
parent5484efc246b74ac1da7c806b1b7c3ae972e17a6a (diff)
gmp-canadian: Add a copy of gmp for use in Canadian builds
Diffstat (limited to 'packages/gmp')
-rw-r--r--packages/gmp/gmp-canadian_4.2.4.bb24
1 files changed, 24 insertions, 0 deletions
diff --git a/packages/gmp/gmp-canadian_4.2.4.bb b/packages/gmp/gmp-canadian_4.2.4.bb
new file mode 100644
index 0000000000..27d179a569
--- /dev/null
+++ b/packages/gmp/gmp-canadian_4.2.4.bb
@@ -0,0 +1,24 @@
+PV = "4.2.4"
+require gmp_${PV}.bb
+
+FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/gmp-${PV}"
+S = "${WORKDIR}/gmp-${PV}"
+
+inherit canadian-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
+}