diff options
| author | Saul Wold <sgw@linux.intel.com> | 2011-11-28 14:17:21 -0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-11-30 15:15:06 +0000 |
| commit | 264dacf41b9ffa80c907a688c38b36e4f987274a (patch) | |
| tree | 0a03131b6582ed8c97e5ee1a41dff1b5329e2745 | |
| parent | 77a02aed4579656e0280e0d55301f220f25728a4 (diff) | |
| download | poky-264dacf41b9ffa80c907a688c38b36e4f987274a.tar.gz | |
ocf-linux: Add ocf-linux to support openssl 1.0
(From OE-Core rev: b4fc41a85d088c60c6f687f2354fe9ca27b46e8e)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/recipes-connectivity/openssl/ocf-linux.inc | 25 | ||||
| -rw-r--r-- | meta/recipes-connectivity/openssl/ocf-linux_20100325.bb | 6 |
2 files changed, 31 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/openssl/ocf-linux.inc b/meta/recipes-connectivity/openssl/ocf-linux.inc new file mode 100644 index 0000000000..f4ec7c99c5 --- /dev/null +++ b/meta/recipes-connectivity/openssl/ocf-linux.inc | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | DESCRIPTION = "Install required headers to enable OCF Linux support" | ||
| 2 | LICENSE = "BSD" | ||
| 3 | |||
| 4 | LIC_FILES_CHKSUM = "file://README;md5=b02a793c9b7893b4ce1f39f0b231ccd7" | ||
| 5 | |||
| 6 | INC_PR = "r3" | ||
| 7 | |||
| 8 | SRC_URI = "http://sourceforge.net/projects/ocf-linux/files/ocf-linux/${PV}/ocf-linux-${PV}.tar.gz" | ||
| 9 | |||
| 10 | S = "${WORKDIR}/ocf-linux-${PV}" | ||
| 11 | |||
| 12 | # Need to unpack the the ocf-linux.tar.gz file contained inside the | ||
| 13 | # downloaded tarball | ||
| 14 | # Install the OCF Linux headers so that other packages such as openssl | ||
| 15 | # can find them. The headers must be in a crypto directory according to | ||
| 16 | # the README file. | ||
| 17 | do_install() { | ||
| 18 | cd ${S} | ||
| 19 | tar xzf ocf-linux.tar.gz | ||
| 20 | install -d ${D}${includedir}/crypto | ||
| 21 | install -m 0644 ${S}/ocf/*.h ${D}${includedir}/crypto/ | ||
| 22 | } | ||
| 23 | |||
| 24 | ALLOW_EMPTY = "1" | ||
| 25 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta/recipes-connectivity/openssl/ocf-linux_20100325.bb b/meta/recipes-connectivity/openssl/ocf-linux_20100325.bb new file mode 100644 index 0000000000..9dccc3c32f --- /dev/null +++ b/meta/recipes-connectivity/openssl/ocf-linux_20100325.bb | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | require ocf-linux.inc | ||
| 2 | |||
| 3 | PR = "${INC_PR}.0" | ||
| 4 | |||
| 5 | SRC_URI[md5sum] = "ce5ad54aa94226d496df1f0f3cf0c11f" | ||
| 6 | SRC_URI[sha256sum] = "9d17cbd13849939c70699b520280e3b94cf77401cdc131108d4aeaaeea587f6b" | ||
