Patrick Williams | 92b42cb | 2022-09-03 06:53:57 -0500 | [diff] [blame] | 1 | SUMMARY = "FF-A Debugfs Linux kernel module" |
| 2 | DESCRIPTION = "This out-of-tree kernel module exposes FF-A operations to user space \ |
| 3 | used for development purposes" |
| 4 | LICENSE = "GPL-2.0-only" |
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=05e355bbd617507216a836c56cf24983" |
| 6 | |
| 7 | inherit module |
| 8 | |
| 9 | SRC_URI = "git://gitlab.arm.com/linux-arm/linux-trusted-services;protocol=https;branch=debugfs \ |
| 10 | file://Makefile;subdir=git \ |
| 11 | " |
| 12 | S = "${WORKDIR}/git" |
| 13 | |
Andrew Geissler | ea144b03 | 2023-01-27 16:03:57 -0600 | [diff] [blame] | 14 | # Tag debugfs-v5.0.1 |
| 15 | SRCREV = "18e3be71f65a405dfb5d97603ae71b3c11759861" |
Patrick Williams | 92b42cb | 2022-09-03 06:53:57 -0500 | [diff] [blame] | 16 | |
| 17 | COMPATIBLE_HOST = "(arm|aarch64).*-linux" |
| 18 | KERNEL_MODULE_AUTOLOAD += "arm-ffa-user" |
| 19 | KERNEL_MODULE_PROBECONF += "arm-ffa-user" |
| 20 | |
Patrick Williams | b542dec | 2023-06-09 01:26:37 -0500 | [diff] [blame] | 21 | # SMM Gateway SP |
| 22 | UUID_LIST = "${@bb.utils.contains('MACHINE_FEATURES', 'ts-smm-gateway', \ |
| 23 | 'ed32d533-99e6-4209-9cc0-2d72cdd998a7', '' , d)}" |
| 24 | # SPMC Tests SPs |
| 25 | UUID_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 | |
| 28 | FFA_USER_UUID_LIST ?= "${@d.getVar('UUID_LIST').strip(',')}" |
| 29 | |
| 30 | module_conf_arm-ffa-user = "options arm-ffa-user uuid_str_list=${FFA_USER_UUID_LIST}" |
Patrick Williams | 92b42cb | 2022-09-03 06:53:57 -0500 | [diff] [blame] | 31 | |
| 32 | do_install:append() { |
| 33 | install -d ${D}${includedir} |
| 34 | install -m 0644 ${S}/arm_ffa_user.h ${D}${includedir}/ |
| 35 | } |