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 | |
| 21 | # This debugfs driver is used only by uefi-test for testing SmmGW SP |
| 22 | # UUIDs = SMM Gateway SP |
| 23 | FFA-USER-UUID-LIST ?= "ed32d533-99e6-4209-9cc0-2d72cdd998a7" |
| 24 | module_conf_arm-ffa-user = "options arm-ffa-user uuid_str_list=${FFA-USER-UUID-LIST}" |
| 25 | |
| 26 | do_install:append() { |
| 27 | install -d ${D}${includedir} |
| 28 | install -m 0644 ${S}/arm_ffa_user.h ${D}${includedir}/ |
| 29 | } |