summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2011-02-21 23:40:50 +0100
committerKoen Kooi <koen@dominion.thruhere.net>2011-02-21 23:40:50 +0100
commiteb5cf2985eee1b6e30c53f7b2eafc23219cd5ea7 (patch)
treece7d0b2e753c0b389d28ae1e2e06d643c9199c5c
parent1f8a9926cd03eda7e443ab22a55f34b3a85d45b4 (diff)
downloadmeta-openembedded-eb5cf2985eee1b6e30c53f7b2eafc23219cd5ea7.tar.gz
ocf-linux: allow PN to be empty to fix SDK build
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
-rw-r--r--recipes-connectivity/openssl/ocf-linux.inc14
1 files changed, 7 insertions, 7 deletions
diff --git a/recipes-connectivity/openssl/ocf-linux.inc b/recipes-connectivity/openssl/ocf-linux.inc
index c6f2eacac..b98f887ff 100644
--- a/recipes-connectivity/openssl/ocf-linux.inc
+++ b/recipes-connectivity/openssl/ocf-linux.inc
@@ -1,8 +1,9 @@
1DESCRIPTION = "Install required headers to enable OCF Linux support" 1DESCRIPTION = "Install required headers to enable OCF Linux support"
2LICENSE = "BSD" 2LICENSE = "BSD"
3LIC_FILES_CHKSUM = "file://README;md5=b02a793c9b7893b4ce1f39f0b231ccd7"
4 3
5INC_PR = "r0" 4LIC_FILES_CHKSUM = "file://README;md5=b02a793c9b7893b4ce1f39f0b231ccd7"
5
6INC_PR = "r3"
6 7
7SRC_URI = "http://sourceforge.net/projects/ocf-linux/files/ocf-linux/${PV}/ocf-linux-${PV}.tar.gz" 8SRC_URI = "http://sourceforge.net/projects/ocf-linux/files/ocf-linux/${PV}/ocf-linux-${PV}.tar.gz"
8 9
@@ -10,15 +11,14 @@ S = "${WORKDIR}/ocf-linux-${PV}"
10 11
11# Need to unpack the the ocf-linux.tar.gz file contained inside the 12# Need to unpack the the ocf-linux.tar.gz file contained inside the
12# downloaded tarball 13# downloaded tarball
13do_install_prepend() {
14 cd ${S}
15 tar xzf ocf-linux.tar.gz
16}
17
18# Install the OCF Linux headers so that other packages such as openssl 14# Install the OCF Linux headers so that other packages such as openssl
19# can find them. The headers must be in a crypto directory according to 15# can find them. The headers must be in a crypto directory according to
20# the README file. 16# the README file.
21do_install() { 17do_install() {
18 cd ${S}
19 tar xzf ocf-linux.tar.gz
22 install -d ${D}${includedir}/crypto 20 install -d ${D}${includedir}/crypto
23 install -m 0644 ${S}/ocf/*.h ${D}${includedir}/crypto/ 21 install -m 0644 ${S}/ocf/*.h ${D}${includedir}/crypto/
24} 22}
23
24ALLOW_EMPTY = "1"