diff options
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 @@ +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 0000000000..286f800fd7 --- /dev/null +++ b/meta/packages/gmp/gmp-sdk_4.2.2.bb @@ -0,0 +1,2 @@ +PV = "4.2.2" +require gmp-sdk.inc |