[yocto] [meta-darwin][PATCH] osx-runtime: OSX Yosemite v10.10

Trevor Woerner twoerner at gmail.com
Thu Nov 12 15:32:29 PST 2015


On 08/12/15 16:01, Bystricky, Juro wrote:
> yes, I ran into the same libgcc problem, I plan on tackling it eventually. 
> Likely some paths are not set correctly.
> For what is worth, try to build the SDK against the poky "dizzy" branch.
> I was able to build Darwin SDK with it. You may need to patch some other files though.
> Anyway, there is new repo https://git.yoctoproject.org/cgit/cgit.cgi/meta-darwin-contrib/
> where I will place some Darwin patches, most notably those I used to build 
> the "dizzy" SDK (later next week).

I can't seem to get even this working (i.e. generating an SDK for MacOSX
using dizzy).

$ cat conf/bblayers.conf

    # LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf
    # changes incompatibly
    LCONF_VERSION = "6"

    BBPATH = "${TOPDIR}"
    BBFILES ?= ""

    BBLAYERS ?= " \
      /z/darwinSDK/layers/meta-poky/meta \
      /z/darwinSDK/layers/meta-poky/meta-yocto \
      /z/darwinSDK/layers/meta-poky/meta-yocto-bsp \
      /z/darwinSDK/layers/meta-darwin-contrib \
      "
    BBLAYERS_NON_REMOVABLE ?= " \
      /z/darwinSDK/layers/meta-poky/meta \
      /z/darwinSDK/layers/meta-poky/meta-yocto \



$ cat conf/local.conf

    MACHINE ??= "qemux86"
    DL_DIR ?= "/home/trevor/devel/Downloads"
    DISTRO ?= "poky"
    PACKAGE_CLASSES ?= "package_rpm"
    EXTRA_IMAGE_FEATURES = "debug-tweaks"
    USER_CLASSES ?= "buildstats image-mklibs image-prelink"
    PATCHRESOLVE = "noop"
    BB_DISKMON_DIRS = "\
        STOPTASKS,${TMPDIR},1G,100K \
        STOPTASKS,${DL_DIR},1G,100K \
        STOPTASKS,${SSTATE_DIR},1G,100K \
        ABORT,${TMPDIR},100M,1K \
        ABORT,${DL_DIR},100M,1K \
        ABORT,${SSTATE_DIR},100M,1K"
    PACKAGECONFIG_append_pn-qemu-native = " sdl"
    PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"
    ASSUME_PROVIDED += "libsdl-native"
    CONF_VERSION = "1"

    SDKMACHINE = "i386-darwin"



build config:
$ bitbake core-image-minimal -c populate_sdk

    Build Configuration:
    BB_VERSION        = "1.24.0"
    BUILD_SYS         = "x86_64-linux"
    NATIVELSBSTRING   = "openSUSE-project-13.2"
    TARGET_SYS        = "i586-poky-linux"
    MACHINE           = "qemux86"
    DISTRO            = "poky"
    DISTRO_VERSION    = "1.7.3"
    TUNE_FEATURES     = "m32 i586"
    TARGET_FPU        = ""
    meta             
    meta-yocto       
    meta-yocto-bsp    = "dizzy:b38454c2e3a7a58f5397bb16d59e2b0aa71c4a94"
    meta-darwin-contrib =
    "juro/dizzy/osx-runtime:396962db08ed77c5ee83cd5dd2c301402ec826c1"



meta-darwin-contrib doesn't have a "dizzy" branch, but I tried all of
the "juro/dizzy/*" branches individually without success. Is there
anything obvious I'm doing wrong?



More information about the yocto mailing list