summaryrefslogtreecommitdiffstats
path: root/meta/packages/gmp/gmp-native.inc
diff options
context:
space:
mode:
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 @@
1require gmp_${PV}.bb
2
3FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/gmp-${PV}"
4S = "${WORKDIR}/gmp-${PV}"
5
6inherit native
7
8# darwin 'hacks'
9EXTRA_OECONF_build-darwin = " --enable-shared "
10OLD_STAGING := "${STAGING_BINDIR}"
11OLD_TARGET := "${TARGET_SYS}"
12OLD_HOST := "${HOST_SYS}"
13OLD_BUILD := "${BUILD_SYS}"
14
15PATH_prepend_build-darwin = "${OLD_STAGING}/${OLD_HOST}:${OLD_STAGING}:"
16
17TARGET_SYS_build-darwin = "none-apple-darwin"
18HOST_SYS_build-darwin = "none-apple-darwin"
19BUILD_SYS_build-darwin = "none-apple-darwin"
20
21do_compile_append_build-darwin() {
22 oe_runmake check
23}