blob: 726a65bb9adc31fcfcd13cd0e81e14e18b344ddd [file] [log] [blame]
Patrick Williams92b42cb2022-09-03 06:53:57 -05001SUMMARY = "FF-A Debugfs Linux kernel module"
2DESCRIPTION = "This out-of-tree kernel module exposes FF-A operations to user space \
3used for development purposes"
4LICENSE = "GPL-2.0-only"
5LIC_FILES_CHKSUM = "file://COPYING;md5=05e355bbd617507216a836c56cf24983"
6
7inherit module
8
9SRC_URI = "git://gitlab.arm.com/linux-arm/linux-trusted-services;protocol=https;branch=debugfs \
10 file://Makefile;subdir=git \
11 "
12S = "${WORKDIR}/git"
13
Andrew Geisslerea144b032023-01-27 16:03:57 -060014# Tag debugfs-v5.0.1
15SRCREV = "18e3be71f65a405dfb5d97603ae71b3c11759861"
Patrick Williams92b42cb2022-09-03 06:53:57 -050016
17COMPATIBLE_HOST = "(arm|aarch64).*-linux"
18KERNEL_MODULE_AUTOLOAD += "arm-ffa-user"
19KERNEL_MODULE_PROBECONF += "arm-ffa-user"
20
Patrick Williamsb542dec2023-06-09 01:26:37 -050021# SMM Gateway SP
22UUID_LIST = "${@bb.utils.contains('MACHINE_FEATURES', 'ts-smm-gateway', \
23 'ed32d533-99e6-4209-9cc0-2d72cdd998a7', '' , d)}"
24# SPMC Tests SPs
25UUID_LIST:append = "${@bb.utils.contains('MACHINE_FEATURES', 'optee-spmc-test', \
26 ',5c9edbc3-7b3a-4367-9f83-7c191ae86a37,7817164c-c40c-4d1a-867a-9bb2278cf41a,23eb0100-e32a-4497-9052-2f11e584afa6', '' , d)}"
27
28FFA_USER_UUID_LIST ?= "${@d.getVar('UUID_LIST').strip(',')}"
29
30module_conf_arm-ffa-user = "options arm-ffa-user uuid_str_list=${FFA_USER_UUID_LIST}"
Patrick Williams92b42cb2022-09-03 06:53:57 -050031
32do_install:append() {
33 install -d ${D}${includedir}
34 install -m 0644 ${S}/arm_ffa_user.h ${D}${includedir}/
35}