Age | Commit message (Collapse) | Author |
|
glib fails to build for Darwin. This patch fixes it.
The origin/reason for the error is unclear, as the loop syntax seems
correct, and presumably glib used to build before. So the culprit
is probably the new gcc.
Moving the initial assignemt from the "for" loop in front
of the "for" loop seems to fix the problem (makes build possible).
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
|
|
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
SDL is not a requirement in case of
Darwin nativesdk-qemu.
Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
nativesdk-qemu added as a component of nativesdk-packagegroup-sdk-host.
Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
|
|
Disable Cocoa for now
Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
The export into the global namespace pollutes the checksums of *all* recipes
which means the presence or absence of the layer changes the builds
and forces pointless rebuilds.
Move the exports to the darwin specific configure/compile tasks to
avoid this.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
MacOS X native frameworks needs to be added to its sysroot
in order to be able to build Mac native apps.
Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Addapt CoreFoundation headers so that will work with gcc.
As such, remove the assumption that compiler supports
unsupported_attribute_availability_with_message feature.
Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
See the patch header for more info.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
On darwin, we need to enable the malloc/realloc wrappers which for
some reason don't link correctly without this change (possibly a cross
compiling issue?). We also need to allow undefined symbols due to the
way libfl is built/used otherwise we see linker errors.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
TLS isn't present on darwin so disable this there. This avoids linking
to the TLS emulation in libgcc which has runtime conflicts on OSX.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
charset.alias is only generated on old linux or non-linux platforms so we add this
to package it properly.
We also set --enable-included-printf=yes which is requried for darwin.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Sometimes LDFLAGS are used without CFLAGS so correctly handle this case.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
This generates configure time warnings, because is an unknown
configure option.
Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
|
|
It makes sense to enable rpath usage on darwin, given the way we install
the toolchain. To do this, we need to set an OSX minimum version of 10.5
but this isn't an issue for any targets I'm aware of that are in use.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
When building for darwin, it makes sense to have an objc enabled
compiler.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Its annoying to see osx-runtime rebuild when various compiler flags change. The
recipe doesn't use or depend on them and by unexporting them, we can avoid
some of the rebuilds.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
The zlib configure script is interesting. We need to pass in a correct
uname when cross compiling and then ensure ARFLAGS are set correctly for
a darwin on linux build.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
This reverts commit f4122e22257c784e9eb1b564e8ef16cd2e83cd03 since it
breaks later gcc compiles.
|
|
These are specific to gcc 4.8 and removing these allows the build
to succeed on host systemd with have gcc 4.7.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Remove the 4.2.1 directory from the --with-gxx-include-dir path provided
to the configure script for GCC 4.8 in the cross-canadian build. This is
not the patch we end up installing headers to and was accidentally copied
from the darwin crosssdk recipes.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
For some reason the libgcc build is incomplete compared to the one that
was part of gcc-crosssdk. Whilst this was removed in OE-Core add it back
for now as a workaround until things can be fixed properly.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Avoid the build failure:
nativesdk-libgcc: Files/directories were installed but not shipped
/opt/poky/1.6/sysroots/i386-pokysdk-darwin/lib
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
This avoids a build failure from unpackaged files if the empty patches
directory is copied.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|