summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-10-06 15:59:41 +0000
committerRichard Purdie <richard@openedhand.com>2008-10-06 15:59:41 +0000
commit7676511a3e4e75e395759b82c02a9f46340c5511 (patch)
tree4c6fd956f74f436ae44a833848fd1265c2f52384
parent27d572b55e53b72f41727091c08e650188cef322 (diff)
downloadopenembedded-core-7676511a3e4e75e395759b82c02a9f46340c5511.tar.gz
openembedded-core-7676511a3e4e75e395759b82c02a9f46340c5511.tar.bz2
openembedded-core-7676511a3e4e75e395759b82c02a9f46340c5511.tar.xz
openembedded-core-7676511a3e4e75e395759b82c02a9f46340c5511.zip
Add gmp-sdk
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5419 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r--meta/packages/gmp/gmp-sdk.inc35
-rw-r--r--meta/packages/gmp/gmp-sdk_4.2.2.bb2
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 000000000..a6b15332a
--- /dev/null
+++ b/meta/packages/gmp/gmp-sdk.inc
@@ -0,0 +1,35 @@
+require gmp_${PV}.bb
+
+FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/gmp-${PV}"
+S = "${WORKDIR}/gmp-${PV}"
+
+inherit sdk
+
+
+oe_runconf () {
+ if [ -x ${S}/configure ] ; then
+ cfgcmd="${S}/configure \
+ --build=${BUILD_SYS} \
+ --host=${HOST_SYS} \
+ --prefix=${prefix} \
+ --exec_prefix=${exec_prefix} \
+ --bindir=${bindir} \
+ --sbindir=${sbindir} \
+ --libexecdir=${libexecdir} \
+ --datadir=${datadir} \
+ --sysconfdir=${sysconfdir} \
+ --sharedstatedir=${sharedstatedir} \
+ --localstatedir=${localstatedir} \
+ --libdir=${libdir} \
+ --includedir=${includedir} \
+ --oldincludedir=${oldincludedir} \
+ --infodir=${infodir} \
+ --mandir=${mandir} \
+ ${EXTRA_OECONF} \
+ $@"
+ oenote "Running $cfgcmd..."
+ $cfgcmd || oefatal "oe_runconf failed"
+ else
+ oefatal "no configure script found"
+ fi
+}
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 000000000..286f800fd
--- /dev/null
+++ b/meta/packages/gmp/gmp-sdk_4.2.2.bb
@@ -0,0 +1,2 @@
+PV = "4.2.2"
+require gmp-sdk.inc