summaryrefslogtreecommitdiff
path: root/packages/gmp/gmp-native.inc
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2006-11-06 21:43:56 +0000
committerRichard Purdie <rpurdie@rpsys.net>2006-11-06 21:43:56 +0000
commit78b090a6db5d3237dd062af9cb6d7e4c860fc435 (patch)
treee4c23e3d26720278aeba4d2f896b979666410f88 /packages/gmp/gmp-native.inc
parente37ddf6842faf9b3421fa4ab688944a20f0bba94 (diff)
gmp: Refactor into inc files, add 4.2.1 (partly from #1130)
Diffstat (limited to 'packages/gmp/gmp-native.inc')
-rw-r--r--packages/gmp/gmp-native.inc23
1 files changed, 23 insertions, 0 deletions
diff --git a/packages/gmp/gmp-native.inc b/packages/gmp/gmp-native.inc
new file mode 100644
index 0000000000..c3d36e0fdb
--- /dev/null
+++ b/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
+}