Skip to contentSkip to conversation

ffa-debugfs-mod: Pin to arm/aarch64 hosts

PATCH Applied Khem Raj 2 participants 2 messages Dec 4, 2021 – Dec 6, 2021

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 ffa-debugfs-mod: Pin to arm/aarch64 hosts

This seems to be needing arm specific kernel headers, so I infer this still is arm specific module

Fixes below error on non-arm hosts

/git/arm_ffa_user.c:12:10: fatal error: linux/arm_ffa.h: No such file or directory

|    12 | #include <linux/arm_ffa.h>
|       |          ^~~~~~~~~~~~~~~~~
| compilation terminated.
---
 meta-arm/recipes-kernel/ffa-debugfs/ffa-debugfs-mod_2.1.0.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-arm/recipes-kernel/ffa-debugfs/ffa-debugfs-mod_2.1.0.bb +2 -0
index e9c3611..2db8afc 100644
@@ -27,3 +27,5 @@ do_install:append() {
   install -D -p -m 0755 ${B}/load_ffa_debugfs.sh ${D}/${bindir}/load_ffa_debugfs.sh
   install -m 0644 ${S}/arm_ffa_user.h ${D}/${includedir}/arm_ffa_user.h
 }
+
+COMPATIBLE_HOST = "(arm|aarch64).*-linux"
Signature · 1 line
2.34.1
Applied
#1 lore raw
Quoted 11 lines · Khem Raj

This seems to be needing arm specific kernel headers, so I infer this still is arm specific module

Fixes below error on non-arm hosts

/git/arm_ffa_user.c:12:10: fatal error: linux/arm_ffa.h: No such file or directory

|    12 | #include <linux/arm_ffa.h>
|       |          ^~~~~~~~~~~~~~~~~
| compilation terminated.

[...]

Applied, thanks!

[1/1] ffa-debugfs-mod: Pin to arm/aarch64 hosts

      commit: 18a0b35ad2b8cce9cf01e1ba78aaf38084636021

Best regards,

Signature · 1 line
Jon Mason <[email protected]>