mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-07 05:10:20 +00:00
ocf-linux: allow PN to be empty to fix SDK build
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
@@ -1,8 +1,9 @@
|
|||||||
DESCRIPTION = "Install required headers to enable OCF Linux support"
|
DESCRIPTION = "Install required headers to enable OCF Linux support"
|
||||||
LICENSE = "BSD"
|
LICENSE = "BSD"
|
||||||
|
|
||||||
LIC_FILES_CHKSUM = "file://README;md5=b02a793c9b7893b4ce1f39f0b231ccd7"
|
LIC_FILES_CHKSUM = "file://README;md5=b02a793c9b7893b4ce1f39f0b231ccd7"
|
||||||
|
|
||||||
INC_PR = "r0"
|
INC_PR = "r3"
|
||||||
|
|
||||||
SRC_URI = "http://sourceforge.net/projects/ocf-linux/files/ocf-linux/${PV}/ocf-linux-${PV}.tar.gz"
|
SRC_URI = "http://sourceforge.net/projects/ocf-linux/files/ocf-linux/${PV}/ocf-linux-${PV}.tar.gz"
|
||||||
|
|
||||||
@@ -10,15 +11,14 @@ S = "${WORKDIR}/ocf-linux-${PV}"
|
|||||||
|
|
||||||
# Need to unpack the the ocf-linux.tar.gz file contained inside the
|
# Need to unpack the the ocf-linux.tar.gz file contained inside the
|
||||||
# downloaded tarball
|
# downloaded tarball
|
||||||
do_install_prepend() {
|
|
||||||
cd ${S}
|
|
||||||
tar xzf ocf-linux.tar.gz
|
|
||||||
}
|
|
||||||
|
|
||||||
# Install the OCF Linux headers so that other packages such as openssl
|
# Install the OCF Linux headers so that other packages such as openssl
|
||||||
# can find them. The headers must be in a crypto directory according to
|
# can find them. The headers must be in a crypto directory according to
|
||||||
# the README file.
|
# the README file.
|
||||||
do_install() {
|
do_install() {
|
||||||
|
cd ${S}
|
||||||
|
tar xzf ocf-linux.tar.gz
|
||||||
install -d ${D}${includedir}/crypto
|
install -d ${D}${includedir}/crypto
|
||||||
install -m 0644 ${S}/ocf/*.h ${D}${includedir}/crypto/
|
install -m 0644 ${S}/ocf/*.h ${D}${includedir}/crypto/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ALLOW_EMPTY = "1"
|
||||||
|
|||||||
Reference in New Issue
Block a user