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