Age | Commit message (Collapse) | Author |
|
Handle packaging gpg-error.exe in the -dev package.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
For mingw it is convention to have DLLs in bindir. To avoid grouping
anything other that .exe files into the ${PN}-bin package, override it
so that only '*.exe' files are shipped.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
Add a PACKAGECONFIG for 'stdio-redirect'. This configure option
enables/disables the Windows only option for redirecting the
stdout/stderr to files instead of to the console.
Add the 'directx' PACKAGECONFIG to configure whether to build with
DirectX support. By default this is enabled (when targeting
mingw32/windows) however this requires the DirectX libraries in order to
include and link against.
Disable X11 support when building for the nativesdk mingw32.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
Whilst building libfdt on mingw32 is functional, building dtc for mingw32
is not. This is due to dtc relying on certain POSIX functions as well as
not handling the MSVCRT printf formatting.
This change enables building and installing libfdt only for mingw32,
disabling the build of device-tree-compiler itself.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
The changes that are appended for '--enable-include=printf=yes' and
removal of charset.alias are handled in oe-core.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
Handle the packaging of .dll files into the ${PN} package, also package
only certain .exe files into the ${PN} and others into the ${PN}-utils
packages. This is required due to the mingw/windows convention where
.dll's are shipped in the bindir.
Move the packaging of *.def into the ${PN}-dev package, it is only used
during development/compilation.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
MinGW/Windows does not have support for libmount, so disable it when
targeting mingw32.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
Prevent glib-2.0 depending on bash indirectly due to the RDEPEND on
bash-completion. The bash dependency is undesirable due to bash
depending on POSIX compatibility (fork, etc) which is not provided by
MinGW but instead MSYS or CYGWIN.
The glib-2.0 configure does not allow for disabling of bash-completion
output, so instead of disabling the bash-completion bbclass entirely
allow the output to be packaged but remove the
RDEPENDS_${PN}-bash-completion on bash-completion.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
Package the libgettext*.dll files in their respective packages.
Additionally package libintl*.dll in a separate libintl package, this
avoids the need to ship libintl*.dll in gettext-runtime which pulls in a
number of files and binaries which are not required for libintl on its
own. Whilst the package is added to PACKAGES unconditionally, it remains
empty for targets where libintl is not provided/built by gettext.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
Fix building of shared gettext for i686/32-bit mingw32. This adds a
patch which fixes an issue with gnulib that is included in gettext.
This patch does not need to be submitted upstream as it is fixing an
issue with the included version of gnulib. Upstream gnulib has already
fixed this issue and upstream gettext has already updated the included
gnulib, however gettext has not yet made a release that includes this
fix.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
Package the .dll and .exe files into their expected packages.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
For mingw it is convention to have DLLs in bindir. To avoid grouping
anything other that .exe files into the ${PN}-bin package, override it
so that only '*.exe' files are shipped.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
Relocate and package the dll's provided by libgcc in bindir. It is
convention that on mingw/windows dll files are installed into the
bindir, this is done to avoid issues with search paths and allows for
execution of binaries without the need to point at a libdir.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
Add the 'secure-api' PACKAGECONFIG and enable it by default. The
'secure-api' feature enables the secure string functions that are
provided in the MS C Runtime e.g. "strerror_s".
These functions are needed for glib-2.0 compilation.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
Intel Memory Protection Extension library for x86 builds are now enabled
by default. However, the library does not build for mingw32, so remove it
from mingw builds.
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
|
|
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
|
|
This commit fixes the build error:
make[1]: x86_64-pokysdk-mingw32-gcc: Command not found
The build error appeared after oe-core switched to Recipe
Specific Sysroots.
[YOCTO#10971]
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
|
|
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
|
|
Default configuration for gcc-crosssddk-initial is now to enable initfini-array.
However, this works only for Linux so we disable it for mingw32.
Otherwise, (with SDKMACHINE=x86_64-mingw32) we will eventually encounter errors such as:
Assembler messages:
Error: invalid instruction suffix for `push'
Error: invalid instruction suffix for `pop'
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
|
|
Default configuration for gcc-crosssddk is now to enable initfini-array.
However, this works only for Linux so we disable it for mingw32.
Otherwise we will eventually encounter build error such as:
multiple definition of `__do_global_dtors'
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
|
|
With the change of crosssdk to use SDK_SYS instead of SDK_ARCH, we need to update
the recipe to match the changes in master.
[YOCTO #9281]
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
|
|
Issue: LIN8-1615
Workaround for the failure:
e:/windri~1/lx8.sdk/qemux8~1.800/sysroots/i686-w~1/usr/bin/i586-w~3/../../libexec/i586-wrs-linux/gcc/i586-wrs-linux/5.2.0/real-ld.exe: unrecognized option '-plugin'
This disables the LTO support in the compiler, but does allow things to
compile and link properly.
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
|
|
Tested with 7.11.
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Tested with 3.1.4.
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Not needed anymore.
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
libitm mingw build presently not supported, so don't build it.
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Tested up to 2.27
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Modified to work properly with later versions.
Only static build supported.
(Tested up to 0.19.8.1)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Use explicit mingw32 override for
PREFERRED_PROVIDER_virtual/nativesdk-${SDK_PREFIX}libc-initial
to avoid multiple providers and consequently broken builds.
Allow building static libraries, disabled by default.
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
The environment script generatation is updated to match YP 2.0 version.
In addition, there was an error in the way the EXTRAPATH component was being
generated.
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
|
|
When using standard paths, the user may end up exceeding the path length to
some toolchain helper libraries (DLLs) and binaries.
By switching to using the "short path", we can avoid this in many more cases.
If the user does exceed the path length, their only option will be to move
the SDK lower in their directory tree.
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
|
|
Since the environment .sh files can't be used on a normal windows machine,
change to providing .bat files instead. The same mechanisms normally used
can be used on the Windows command line. i.e.
Unix way:
$ source environment-setup-armv5te-wrs-linux-gnueabi.sh
$ $CC hello.c
Win32 way:
C:\Users\mhatle\win-sdk>environment-setup-armv5te-wrs-linux-gnueabi.bat
C:\Users\mhatle\win-sdk>%CC% hello.c
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
|
|
Also we skip the staticdev sanity check, as the '.a' file should be packaged
as listed.
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
|
|
mingw runtime 3.1 is released under ZPL-2.1 license.
This fixes the warning:
WARNING: nativesdk-mingw-w64-runtime: No generic license file exists for: ZPL in any provider
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
|
|
The mingw headers 3.1 are released under ZPL-2.1 license.
This fixes the warning:
WARNING: nativesdk-mingw-w64-headers: No generic license file exists for: ZPL in any provider
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
|
|
Some Windows executables/DLLs link explicitly to pthreadGC2.dll.
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
|
|
Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
|
|
Rename the bbappends to use % so they can be used with both 4.x
and 5.x. None of these changes appear to be specific to a given
version of gcc.
Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
|
|
The mingw32 runtime has issues building libgomp, so drop it for now.
Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
|
|
This patch solves various unresolved references:
.libs/fstrcmp.o:fstrcmp.c:(.text+0x4b6): undefined reference to `_imp__pthread_key_create'
.libs/fstrcmp.o:fstrcmp.c:(.text+0x5b2): undefined reference to `_imp__pthread_once'
.libs/fstrcmp.o:fstrcmp.c:(.text+0x5c4): undefined reference to `_imp__pthread_getspecific'
.libs/fstrcmp.o:fstrcmp.c:(.text+0x617): undefined reference to `_imp__pthread_setspecific'
.libs/localename.o:localename.c:(.text+0x14f6): undefined reference to `_imp__pthread_mutex_lock'
.libs/localename.o:localename.c:(.text+0x1576): undefined reference to `_imp__pthread_mutex_unlock'
.libs/localename.o:localename.c:(.text+0x15c9): undefined reference to `_imp__pthread_mutex_unlock'
glthread/.libs/lock.o:lock.c:(.text+0xe): undefined reference to `_imp__pthread_mutexattr_init'
glthread/.libs/lock.o:lock.c:(.text+0x2d): undefined reference to `_imp__pthread_mutexattr_settype'
glthread/.libs/lock.o:lock.c:(.text+0x44): undefined reference to `_imp__pthread_mutex_init'
glthread/.libs/lock.o:lock.c:(.text+0x53): undefined reference to `_imp__pthread_mutexattr_destroy'
glthread/.libs/lock.o:lock.c:(.text+0x62): undefined reference to `_imp__pthread_mutexattr_destroy'
glthread/.libs/lock.o:lock.c:(.text+0x75): undefined reference to `_imp__pthread_mutexattr_dest
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Renamed mpfr_3.1.2.bbappend to mpfr_3.1.3.bbappend to match the new recipe
mpfr_3.1.3.bb.
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Renamed nativesdk-libtool_2.4.2.bbappend to nativesdk-libtool_2.4.6.bbappend
in order to match the new recipe nativesdk-libtool_2.4.6.bb.
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Renamed recipes-support/mpc/libmpc_1.0.2.bbappend to
recipes-support/libmpc/libmpc_1.0.3.bbappend to reflect the changed
location and version of the recipe libmpc_1.0.3.bb.
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Renamed the file binutils-cross-canadian_2.24.bbappend to
binutils-cross-canadian_2.25.bbappend.
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Renamed gdb-cross-canadian_7.8.1.bbappend to gdb-cross-canadian_7.9.1.bbappend,
to match the updated recipe gdb-cross-canadian_7.9.1.bb.
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Fixed references to meta-darwin.
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
WINDRES and RC values are exported when building for a mingw32 target. These
values, due to being exported, end up in the signature hash for everything in
the system. By adding these to the whitelist we prevent contamination and
allow the system to properly reuse existing -native and other sstate-cache.
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
We need to ensure that WINDRES searches the correct include directory
for header files. Now that a default sysroot is specified to an invalid
location, it highlights that we need to specify the location manually and
explictly.
autotools appears to use "RC" in preference to "WINDRES" so we need
to export that to ensure it doesn't just find the utility and use it
without an include directory.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|