mirror of
https://git.yoctoproject.org/poky
synced 2026-04-24 12:32:11 +02:00
There are various usages of ALLOW_EMPTY with no packages specified. This is not recommended syntax, nor is it likely to be supported in the future. This patch improves the references in OE-Core, either removing them if they're pointless (e.g. when PACKAGES="") or specifying which package it applies to. (From OE-Core rev: fe81bd4f600877e63433184cfc2e22c33bb77db6) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
25 lines
749 B
PHP
25 lines
749 B
PHP
DESCRIPTION = "Install required headers to enable OCF Linux support"
|
|
LICENSE = "BSD"
|
|
|
|
LIC_FILES_CHKSUM = "file://README;md5=493ffe65655667614cf24567adf22f11"
|
|
|
|
INC_PR = "r3"
|
|
|
|
SRC_URI = "http://sourceforge.net/projects/ocf-linux/files/ocf-linux/${PV}/ocf-linux-${PV}.tar.gz"
|
|
|
|
S = "${WORKDIR}/ocf-linux-${PV}"
|
|
|
|
# Need to unpack the the ocf-linux.tar.gz file contained inside the
|
|
# downloaded tarball
|
|
# 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
|
|
# the README file.
|
|
do_install() {
|
|
cd ${S}
|
|
install -d ${D}${includedir}/crypto
|
|
install -m 0644 ${S}/ocf/*.h ${D}${includedir}/crypto/
|
|
}
|
|
|
|
ALLOW_EMPTY_${PN} = "1"
|
|
BBCLASSEXTEND = "native nativesdk"
|