diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-30 15:05:33 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-31 10:10:29 +0100 |
commit | 69ac4e284da3870df7e8ebb3492601dc5593f03f (patch) | |
tree | de82707fb268933f5c5b28483c41fc4aa3ab33c7 /meta/recipes-kernel/linux-libc-headers | |
parent | 8b41b5ddfe20bfc22133339597ffce2829caa229 (diff) | |
download | poky-69ac4e284da3870df7e8ebb3492601dc5593f03f.tar.gz |
linux-libc-headers: Allow arm kernel headers to coexist on 32/64 bit
Its rather sad we need to do this but in order to make combined 32 and 64 bit
SDKs work, we need a common set of headers and this is the delta that
allows things to work. It only applies on arm.
(From OE-Core rev: 592ae8e521a3926e8e5f87e2364e1ba8d92b8c2d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/linux-libc-headers')
-rw-r--r-- | meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc index 653a4707fc..bb9a66948f 100644 --- a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc +++ b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc | |||
@@ -42,7 +42,7 @@ python __anonymous () { | |||
42 | d.setVar("HEADER_FETCH_VER", "2.6") | 42 | d.setVar("HEADER_FETCH_VER", "2.6") |
43 | } | 43 | } |
44 | 44 | ||
45 | inherit kernel-arch pkgconfig | 45 | inherit kernel-arch pkgconfig multilib_header |
46 | 46 | ||
47 | KORG_ARCHIVE_COMPRESSION ?= "xz" | 47 | KORG_ARCHIVE_COMPRESSION ?= "xz" |
48 | 48 | ||
@@ -68,6 +68,19 @@ do_install() { | |||
68 | find ${D}${includedir} -name ..install.cmd | xargs rm -f | 68 | find ${D}${includedir} -name ..install.cmd | xargs rm -f |
69 | } | 69 | } |
70 | 70 | ||
71 | do_install_append_aarch64 () { | ||
72 | do_install_armmultilib | ||
73 | } | ||
74 | |||
75 | do_install_append_arm () { | ||
76 | do_install_armmultilib | ||
77 | } | ||
78 | |||
79 | do_install_armmultilib () { | ||
80 | oe_multilib_header asm/auxvec.h asm/bitsperlong.h asm/byteorder.h asm/fcntl.h asm/hwcap.h asm/ioctls.h asm/kvm.h asm/mman.h asm/param.h asm/perf_regs.h | ||
81 | oe_multilib_header asm/posix_types.h asm/ptrace.h asm/setup.h asm/sigcontext.h asm/siginfo.h asm/signal.h asm/stat.h asm/statfs.h asm/swab.h asm/types.h asm/unistd.h | ||
82 | } | ||
83 | |||
71 | BBCLASSEXTEND = "nativesdk" | 84 | BBCLASSEXTEND = "nativesdk" |
72 | 85 | ||
73 | #DEPENDS = "cross-linkage" | 86 | #DEPENDS = "cross-linkage" |