summaryrefslogtreecommitdiff
path: root/meta/packages/gmp/gmp-native.inc
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-11-20 20:36:11 +0000
committerRichard Purdie <richard@openedhand.com>2006-11-20 20:36:11 +0000
commitede06b01b5cfeb4720a610d549becbf01a007dac (patch)
tree141baeb59ca9b62612e92f19adf78efa933e21a3 /meta/packages/gmp/gmp-native.inc
parentc5afcd84e7d03e6bf3353e82da633adab3a15e0c (diff)
downloadopenembedded-core-ede06b01b5cfeb4720a610d549becbf01a007dac.tar.gz
openembedded-core-ede06b01b5cfeb4720a610d549becbf01a007dac.tar.bz2
openembedded-core-ede06b01b5cfeb4720a610d549becbf01a007dac.zip
gmp: Upgrade to 4.2.1 from OE.dev
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@896 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/gmp/gmp-native.inc')
-rw-r--r--meta/packages/gmp/gmp-native.inc23
1 files changed, 23 insertions, 0 deletions
diff --git a/meta/packages/gmp/gmp-native.inc b/meta/packages/gmp/gmp-native.inc
new file mode 100644
index 0000000000..c3d36e0fdb
--- /dev/null
+++ b/meta/packages/gmp/gmp-native.inc
@@ -0,0 +1,23 @@
+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
+}