All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-darwin][PATCH] README: steps to create OSX-sdk.zip
@ 2015-08-10 23:02 Juro Bystricky
  2015-08-11  9:31 ` Trevor Woerner
  0 siblings, 1 reply; 2+ messages in thread
From: Juro Bystricky @ 2015-08-10 23:02 UTC (permalink / raw)
  To: yocto

osx-runtime requires the file OSX-sdk.zip. This file must be created by the user.
This patch describes the typical steps to create this file using a Mac computer.

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
---
 README | 26 +++++++++++++++++++++++++-
 1 file changed, 25 insertions(+), 1 deletion(-)

diff --git a/README b/README
index b7243cb..6e8d500 100644
--- a/README
+++ b/README
@@ -10,7 +10,31 @@ The odcctools2 version should be 64 bit safe and not need those workarounds.
 You also need a OS-X sysroot tarball/zip file generated (copied) from a target OS-X
 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).
+(/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 OSX 10.8 or later and with Xcode 5.1.0 or later installed.
+
+To create the SDK tarball, perform the following steps using your Mac computer:
+
+1. Install Xcode 5.1.0 or later using App Store.
+
+2. Install the command-line development tools
+    (Preferences -> Downloads -> Command-line tools)
+
+3. Use Terminal to create the file OSX-sdk.zip from the OSX SDK (this sample assumes
+   OSX 10.10):
+
+    $ mkdir ~/Desktop/OSX-sdk
+    $ cd ~/Desktop/OSX-sdk
+    $ ditto `xcrun --sdk macosx10.10 --show-sdk-path` .
+    $ cd ..
+    $ zip -yr OSX-sdk OSX-sdk
+
+4. 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
+
 
 This layer depends on:
 
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [meta-darwin][PATCH] README: steps to create OSX-sdk.zip
  2015-08-10 23:02 [meta-darwin][PATCH] README: steps to create OSX-sdk.zip Juro Bystricky
@ 2015-08-11  9:31 ` Trevor Woerner
  0 siblings, 0 replies; 2+ messages in thread
From: Trevor Woerner @ 2015-08-11  9:31 UTC (permalink / raw)
  To: Juro Bystricky, yocto

On 08/10/15 19:02, Juro Bystricky wrote:
> osx-runtime requires the file OSX-sdk.zip. This file must be created by the user.
> This patch describes the typical steps to create this file using a Mac computer.
> 
> Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>

Excellent, thanks for the update!



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-08-11  9:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-10 23:02 [meta-darwin][PATCH] README: steps to create OSX-sdk.zip Juro Bystricky
2015-08-11  9:31 ` Trevor Woerner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.