summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-05-16 08:58:41 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-05-18 06:33:36 +0100
commitc131b23cdbeab3db3a13533288481bcca68d23e3 (patch)
treec9bb00a943281933aee37f7c7bae6108ec33a594 /scripts
parent55b6734be958fdf4f7813ef78807c093381d9364 (diff)
downloadpoky-c131b23cdbeab3db3a13533288481bcca68d23e3.tar.gz
multilib_header: Fall back to worsize form libc for bpf target
Setting bpf to use 64bit for wordlength is not right, it happens to work perhaps becuase the targets its being run on are 64bit inherently (From OE-Core rev: 6d8c7e3426a74b1bc4752d508f68548480955853) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/multilib_header_wrapper.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/multilib_header_wrapper.h b/scripts/multilib_header_wrapper.h
index 62b57ca8ee..df01b56a72 100644
--- a/scripts/multilib_header_wrapper.h
+++ b/scripts/multilib_header_wrapper.h
@@ -5,9 +5,7 @@
5 * 5 *
6 */ 6 */
7 7
8#if defined (__bpf__) 8#if defined (__arm__)
9#define __MHWORDSIZE 64
10#elif defined (__arm__)
11#define __MHWORDSIZE 32 9#define __MHWORDSIZE 32
12#elif defined (__aarch64__) && defined ( __LP64__) 10#elif defined (__aarch64__) && defined ( __LP64__)
13#define __MHWORDSIZE 64 11#define __MHWORDSIZE 64