diff options
| author | Mark Hatle <mark.hatle@amd.com> | 2023-08-23 15:52:15 -0600 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@amd.com> | 2023-08-24 16:04:25 -0600 |
| commit | f115ac5b0195905d4ef4d02a2641bac5d2cb5b69 (patch) | |
| tree | 5cc2af13510c9fbc111227f3e945319884798242 /meta-microblaze | |
| parent | 83eef8de790cb7b565d83b9ba9c20559661cf5f7 (diff) | |
| download | meta-xilinx-f115ac5b0195905d4ef4d02a2641bac5d2cb5b69.tar.gz | |
meta-microblaze: util-linux.bbappend: Audit support needs to know about the microblaze architecture
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Diffstat (limited to 'meta-microblaze')
| -rw-r--r-- | meta-microblaze/recipes-core/util-linux/util-linux/util-linux-microblaze.patch | 17 | ||||
| -rw-r--r-- | meta-microblaze/recipes-core/util-linux/util-linux_%.bbappend | 2 |
2 files changed, 19 insertions, 0 deletions
diff --git a/meta-microblaze/recipes-core/util-linux/util-linux/util-linux-microblaze.patch b/meta-microblaze/recipes-core/util-linux/util-linux/util-linux-microblaze.patch new file mode 100644 index 00000000..07712c98 --- /dev/null +++ b/meta-microblaze/recipes-core/util-linux/util-linux/util-linux-microblaze.patch | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | SECCOMP / Audit support needs to know about the microblaze architecture. | ||
| 2 | |||
| 3 | Upstream-Status: Pending | ||
| 4 | |||
| 5 | Signed-off-by: Mark Hatle <mark.hatle@amd.com> | ||
| 6 | |||
| 7 | --- util-linux-2.39.1/include/audit-arch.h.orig 2023-08-23 14:55:54.318732126 -0600 | ||
| 8 | +++ util-linux-2.39.1/include/audit-arch.h 2023-08-23 15:02:51.058552660 -0600 | ||
| 9 | @@ -57,6 +57,8 @@ | ||
| 10 | # else | ||
| 11 | # define SECCOMP_ARCH_NATIVE AUDIT_ARCH_LOONGARCH64 | ||
| 12 | # endif | ||
| 13 | +#elif __microblaze__ | ||
| 14 | +# define SECCOMP_ARCH_NATIVE AUDIT_ARCH_MICROBLAZE | ||
| 15 | #else | ||
| 16 | # error Unknown target architecture | ||
| 17 | #endif | ||
diff --git a/meta-microblaze/recipes-core/util-linux/util-linux_%.bbappend b/meta-microblaze/recipes-core/util-linux/util-linux_%.bbappend new file mode 100644 index 00000000..7774dda5 --- /dev/null +++ b/meta-microblaze/recipes-core/util-linux/util-linux_%.bbappend | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | FILESEXTRAPATHS:append:microblaze := ":${THISDIR}/util-linux" | ||
| 2 | SRC_URI:append:microblaze = " file://util-linux-microblaze.patch" | ||
