blob: 77ffdcc26d119a063be398dee5ee3225366da271 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
meta-darwin
==========
OpenEmbedded meta layer for darwin based SDKs
Note: Only macOS SDK version 12.3 (Darwin 21) is supported.
Ensure you have read and understood the Xcode license terms:
https://www.apple.com/legal/sla/docs/xcode.pdf
You also need a macOS sysroot tarball/zip file generated (copied) from a target macOS
system. This is placed in the osx-runtime files directory and is used to compile the SDK
against it. It needs to contain the system libraries (/usr/lib) and include files
(/usr/include). This tarball is not part of this meta-darwin layer and must be
created by the user. To create it, the user is required to have a legitimate Mac computer
with macOS 12.3 or later and with Xcode installed.
Information on packaging the SDK is available at:
https://github.com/tpoechtrager/osxcross#packaging-the-sdk
Copy the created OSX-sdk.zip file to your Yocto development machine, placing it into
meta-darwin layer:
<...>/meta-darwin/recipes-devtools/osx-runtime/files
You can alternatively add a nativesdk-osx-runtime_%.bbappend file to your
layer and override SRC_URI and do_configure() to extract the SDK from
a different location.
This layer depends on:
URI: git://git.openembedded.org/openembedded-core
layers: meta
branch: kirkstone
URI: https://github.com/kraj/meta-clang.git
layers: meta-clang
branch: kirkstone
Layer Maintainers: Richard Purdie <richard.purdie@linuxfoundation.org>
Dominik Schnitzer <dominik@snap.com>
Etienne Cordonnier <ecordonnier@snap.com>
Please send changes to the yocto-patches mailing list
(yocto-patches@lists.yoctoproject.org) with [meta-darwin] in the subject line,
cc'ing the maintainers. You need to subscribe to the mailing list at
https://lists.yoctoproject.org/g/yocto-patches before being able to post.
When sending single patches, please use something like:
'git send-email -M -1 --to yocto-patches@lists.yoctoproject.org --subject-prefix="meta-darwin][PATCH"'
|