diff options
author | Saul Wold <sgw@linux.intel.com> | 2017-02-09 14:45:45 -0800 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2017-02-10 07:52:49 -0800 |
commit | baef6680416aadeb582f44c5a6272b71c3430aa6 (patch) | |
tree | edc20ffb2d7d8d15276a64bb7cc300d161035b8f /common/recipes-extended/qat/qat16/0001-OsalServices-Only-use-bits-time-with-GLIBC.patch | |
parent | ef7e9d9fe31938760ee039e03b58696e64d0b9cd (diff) | |
download | meta-intel-baef6680416aadeb582f44c5a6272b71c3430aa6.tar.gz |
qat16: add additionl patch with guard for MUSL build
This just disables the use of bits/time.h
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'common/recipes-extended/qat/qat16/0001-OsalServices-Only-use-bits-time-with-GLIBC.patch')
-rw-r--r-- | common/recipes-extended/qat/qat16/0001-OsalServices-Only-use-bits-time-with-GLIBC.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/common/recipes-extended/qat/qat16/0001-OsalServices-Only-use-bits-time-with-GLIBC.patch b/common/recipes-extended/qat/qat16/0001-OsalServices-Only-use-bits-time-with-GLIBC.patch new file mode 100644 index 00000000..d627353d --- /dev/null +++ b/common/recipes-extended/qat/qat16/0001-OsalServices-Only-use-bits-time-with-GLIBC.patch | |||
@@ -0,0 +1,27 @@ | |||
1 | From f83ac703a6babfa7f177b8f14ff3263a08fd8871 Mon Sep 17 00:00:00 2001 | ||
2 | From: Saul Wold <sgw@linux.intel.com> | ||
3 | Date: Thu, 9 Feb 2017 14:35:57 -0800 | ||
4 | Subject: [PATCH] OsalServices: Only use bits/time with GLIBC | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | Signed-off-by: Saul Wold <sgw@linux.intel.com> | ||
8 | --- | ||
9 | quickassist/utilities/osal/src/linux/user_space/OsalServices.c | 2 +- | ||
10 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
11 | |||
12 | diff --git a/quickassist/utilities/osal/src/linux/user_space/OsalServices.c b/quickassist/utilities/osal/src/linux/user_space/OsalServices.c | ||
13 | index 49fde45..5f50aaa 100755 | ||
14 | --- a/quickassist/utilities/osal/src/linux/user_space/OsalServices.c | ||
15 | +++ b/quickassist/utilities/osal/src/linux/user_space/OsalServices.c | ||
16 | @@ -41,7 +41,7 @@ | ||
17 | |||
18 | #include <stdarg.h> | ||
19 | #include <stdio.h> | ||
20 | -#ifdef __linux__ | ||
21 | +#if defined(__linux__) && defined(__GLIBC__) | ||
22 | #include <bits/time.h> | ||
23 | #endif | ||
24 | #include <sched.h> | ||
25 | -- | ||
26 | 2.7.4 | ||
27 | |||