diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2011-02-21 23:40:50 +0100 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2011-02-21 23:40:50 +0100 |
commit | eb5cf2985eee1b6e30c53f7b2eafc23219cd5ea7 (patch) | |
tree | ce7d0b2e753c0b389d28ae1e2e06d643c9199c5c | |
parent | 1f8a9926cd03eda7e443ab22a55f34b3a85d45b4 (diff) | |
download | meta-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.inc | 14 |
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 @@ | |||
1 | DESCRIPTION = "Install required headers to enable OCF Linux support" | 1 | DESCRIPTION = "Install required headers to enable OCF Linux support" |
2 | LICENSE = "BSD" | 2 | LICENSE = "BSD" |
3 | LIC_FILES_CHKSUM = "file://README;md5=b02a793c9b7893b4ce1f39f0b231ccd7" | ||
4 | 3 | ||
5 | INC_PR = "r0" | 4 | LIC_FILES_CHKSUM = "file://README;md5=b02a793c9b7893b4ce1f39f0b231ccd7" |
5 | |||
6 | INC_PR = "r3" | ||
6 | 7 | ||
7 | SRC_URI = "http://sourceforge.net/projects/ocf-linux/files/ocf-linux/${PV}/ocf-linux-${PV}.tar.gz" | 8 | SRC_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 |
13 | do_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. |
21 | do_install() { | 17 | do_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 | |||
24 | ALLOW_EMPTY = "1" | ||