diff options
author | Richard Purdie <richard@openedhand.com> | 2008-10-06 15:59:41 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-10-06 15:59:41 +0000 |
commit | 7676511a3e4e75e395759b82c02a9f46340c5511 (patch) | |
tree | 4c6fd956f74f436ae44a833848fd1265c2f52384 /meta/packages/gmp | |
parent | 27d572b55e53b72f41727091c08e650188cef322 (diff) | |
download | poky-7676511a3e4e75e395759b82c02a9f46340c5511.tar.gz |
Add gmp-sdk
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5419 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/gmp')
-rw-r--r-- | meta/packages/gmp/gmp-sdk.inc | 35 | ||||
-rw-r--r-- | meta/packages/gmp/gmp-sdk_4.2.2.bb | 2 |
2 files changed, 37 insertions, 0 deletions
diff --git a/meta/packages/gmp/gmp-sdk.inc b/meta/packages/gmp/gmp-sdk.inc new file mode 100644 index 0000000000..a6b15332a3 --- /dev/null +++ b/meta/packages/gmp/gmp-sdk.inc | |||
@@ -0,0 +1,35 @@ | |||
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 sdk | ||
7 | |||
8 | |||
9 | oe_runconf () { | ||
10 | if [ -x ${S}/configure ] ; then | ||
11 | cfgcmd="${S}/configure \ | ||
12 | --build=${BUILD_SYS} \ | ||
13 | --host=${HOST_SYS} \ | ||
14 | --prefix=${prefix} \ | ||
15 | --exec_prefix=${exec_prefix} \ | ||
16 | --bindir=${bindir} \ | ||
17 | --sbindir=${sbindir} \ | ||
18 | --libexecdir=${libexecdir} \ | ||
19 | --datadir=${datadir} \ | ||
20 | --sysconfdir=${sysconfdir} \ | ||
21 | --sharedstatedir=${sharedstatedir} \ | ||
22 | --localstatedir=${localstatedir} \ | ||
23 | --libdir=${libdir} \ | ||
24 | --includedir=${includedir} \ | ||
25 | --oldincludedir=${oldincludedir} \ | ||
26 | --infodir=${infodir} \ | ||
27 | --mandir=${mandir} \ | ||
28 | ${EXTRA_OECONF} \ | ||
29 | $@" | ||
30 | oenote "Running $cfgcmd..." | ||
31 | $cfgcmd || oefatal "oe_runconf failed" | ||
32 | else | ||
33 | oefatal "no configure script found" | ||
34 | fi | ||
35 | } | ||
diff --git a/meta/packages/gmp/gmp-sdk_4.2.2.bb b/meta/packages/gmp/gmp-sdk_4.2.2.bb new file mode 100644 index 0000000000..286f800fd7 --- /dev/null +++ b/meta/packages/gmp/gmp-sdk_4.2.2.bb | |||
@@ -0,0 +1,2 @@ | |||
1 | PV = "4.2.2" | ||
2 | require gmp-sdk.inc | ||