PREFERRED_PROVIDER_u-boot_ls102xa ?= "u-boot-ls1"
PREFERRED_PROVIDER_virtual/bootloader_ls102xa ?= "u-boot-ls1"
PREFERRED_PROVIDER_virtual/kernel_ls102xa ?= "linux-ls1"
+PREFERRED_PROVIDER_cryptodev_ls102xa = "cryptodev-qoriq"
+PREFERRED_PROVIDER_cryptodev-module_ls102xa = "cryptodev-qoriq-module"
+PREFERRED_PROVIDER_cryptodev-tests_ls102xa = "cryptodev-qoriq-tests"
# Define the default image type
IMAGE_CLASSES ?= "image_types_uboot"
# providers
PREFERRED_PROVIDER_virtual/kernel ?= "linux-qoriq"
PREFERRED_PROVIDER_u-boot ?= "u-boot-qoriq"
+PREFERRED_PROVIDER_cryptodev = "cryptodev-qoriq"
+PREFERRED_PROVIDER_cryptodev-module = "cryptodev-qoriq-module"
+PREFERRED_PROVIDER_cryptodev-tests = "cryptodev-qoriq-tests"
# versions
PREFERRED_VERSION_qemu = "2.2.0+fsl"
-require cryptodev_${PV}.inc
+require cryptodev-qoriq_${PV}.inc
SUMMARY = "A /dev/crypto device driver header file"
+PROVIDES = "cryptodev-linux"
+
do_compile[noexec] = "1"
# Just install cryptodev.h which is the only header file needed to be exported
}
ALLOW_EMPTY_${PN} = "1"
+
+COMPATIBLE_MACHINE = "(qoriq-arm|qoriq-ppc)"
-require cryptodev_${PV}.inc
+require cryptodev-qoriq_${PV}.inc
SUMMARY = "A /dev/crypto device driver kernel module"
+PROVIDES = "cryptodev-module"
+
inherit module qoriq_build_64bit_kernel
# Header file provided by a separate package
DEPENDS += "cryptodev-linux"
EXTRA_OEMAKE='KERNEL_DIR="${STAGING_KERNEL_DIR}" PREFIX="${D}"'
+
+COMPATIBLE_MACHINE = "(qoriq-arm|qoriq-ppc)"
-require cryptodev_${PV}.inc
+require cryptodev-qoriq_${PV}.inc
SUMMARY = "A test suite for /dev/crypto device driver"
DEPENDS = "openssl"
+PROVIDES = "cryptodev-tests"
+
EXTRA_OEMAKE='KERNEL_DIR="${STAGING_KERNEL_DIR}" PREFIX="${D}"'
do_compile() {
FILES_${PN}-dbg += "${bindir}/tests_cryptodev/.debug"
FILES_${PN} = "${bindir}/tests_cryptodev/*"
+
+COMPATIBLE_MACHINE = "(qoriq-arm|qoriq-ppc)"