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

Message ID 20211204015347.1195034-1-raj.khem@gmail.com
State New
Headers show
Series ffa-debugfs-mod: Pin to arm/aarch64 hosts | expand

Commit Message

Khem Raj Dec. 4, 2021, 1:53 a.m. UTC
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.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta-arm/recipes-kernel/ffa-debugfs/ffa-debugfs-mod_2.1.0.bb | 2 ++
 1 file changed, 2 insertions(+)

Comments

Jon Mason Dec. 6, 2021, 9:57 p.m. UTC | #1
On Fri, 3 Dec 2021 17:53:47 -0800, Khem Raj wrote:
> 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,

Patch

diff --git a/meta-arm/recipes-kernel/ffa-debugfs/ffa-debugfs-mod_2.1.0.bb b/meta-arm/recipes-kernel/ffa-debugfs/ffa-debugfs-mod_2.1.0.bb
index e9c3611..2db8afc 100644
--- a/meta-arm/recipes-kernel/ffa-debugfs/ffa-debugfs-mod_2.1.0.bb
+++ b/meta-arm/recipes-kernel/ffa-debugfs/ffa-debugfs-mod_2.1.0.bb
@@ -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"