Age | Commit message (Collapse) | Author |
|
The command to properly set the exit code at the end of the toolchain
environment was using the correct flag delimiter '/', but the code to
coerce all the unix-style paths to windows paths was incorrectly
changing this to a '\'. This worked find in wines cmd, but on an actual
Windows host, this caused cmd to wait indefinitely. Fix this by
appending the command after the path separators are coerced.
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
|
|
Upgrade diffutils from 3.6 to 3.7. The upstream made several fixes so
the local patches are no longer necessary, but the gnulib-tests need to
be dropped since they do not compile properly. Since there are no more
local patches, the bbappend can be made to match all versions.
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
|
|
OE-Core dropped gcc-initial, we can do the same for mingw.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Make is useful, so add it to the SDK.
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
|
|
Updates to the latest release of libiconv
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
|
|
Upgrades the MinGW support recipes to the latest version
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
|
|
Adds test cases to verify that gcc, binutils, gdb, and pkg-config are
functioning in the MinGW SDK
[YOCTO #13020]
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
|
|
The "set" command in Windows has some unfortunate behaviors that can
frequently make it look like the toolchain script had an error. This
makes automated testing of the SDK more difficult, so add a line to the
environment setup script that ensures the script exits with success.
[YOCTO #13020]
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
|
|
Updates the variables configured by the toolchain script to match the
oe-core class. This combines the changes from:
0b5f1b0430 ("toolchain-scripts: put TARGET_ARCH and TARGET_OS into environment")
47160a8c51 ("cmake: fix linking in multilib SDKs")
668f56bb24 ("toolchain-scripts: drop PYTHONHOME")
81f126f4a8 ("toolchain-scripts.bbclass: Use PYTHONPATH instead of PYTHONHOME")
[YOCTO #13020]
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
|
|
Adds a .gitignore which ignores python artifact files, as these are now
generated by the SDK tests
[YOCTO #13020]
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
|
|
Adds the framework for testing SDKs that ties into the oeqa test
framework. This allows commands like:
$ bitbake -c testsdk ...
to be run for MinGW SDKs.
The test framework currently executes all tests under Wine in lieu of
having access to actual Windows machines.
[YOCTO #13020]
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
|
|
Build nativesdk-cmake and dependency libs without without openssl.
Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
|
|
Use the winpthreads library available in the mingw64 and
change the thread model from win32 to posix to get access
to c++11 features.
Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
|
|
GCCPIE defaults to "--enable-default-pie" in security_flags.inc,
which breaks Windows binaries.
Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
|
|
Replace Juro, as he no longer maintains the layer.
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
|
|
Fix below problem:
MACHINE=intel-x86-64
SDKMACHINE = "i686-mingw32"
bitbake freetype
do_compile failed with below error:
x86_64-wrs-linux-libtool: compile: x86_64-wrs-linux-windres
--include-dir=work/corei7-64-wrs-linux/freetype/2.9.1-r0/recipe-sysroot/usr/include
/work/corei7-64-wrs-linux/freetype/2.9.1-r0/freetype-2.9.1/src/base/ftver.rc
-o work/corei7-64-wrs-linux/freetype/2.9.1-r0/build/.libs/ftver.o
work/corei7-64-wrs-linux/freetype/2.9.1-r0/build//x86_64-wrs-linux-libtool:
line 1752: x86_64-wrs-linux-windres: command not found
we don't want to use windres for target build, only export WINDRES/RC when build
SDK. SDK_OS = "mingw32", so use this override to fix it.
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
|
|
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Configures the mingw SDK environment to set the SWIG_LIB environment
variable so that swig can find its core library. Otherwise, swig will
look for a directory called "Lib" next to the executable.
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
|
|
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Signed-off-by: Ross Burton <ross.burton@intel.com>
|
|
Signed-off-by: Ross Burton <ross.burton@intel.com>
|
|
We need to disable X11 as we do with libsdl1, and also convince libtool to stop
trying to be clever so the build doesn't break.
Signed-off-by: Ross Burton <ross.burton@intel.com>
|
|
We need to set this so that the override for nativesdk builds using MinGW don't
think they're using glibc.
Signed-off-by: Ross Burton <ross.burton@intel.com>
|
|
Signed-off-by: Ross Burton <ross.burton@intel.com>
|
|
Signed-off-by: Ross Burton <ross.burton@intel.com>
|
|
Now that we can build qemu for mingw, include it in SDK.
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
|
|
Modify CFLAGS to fix a build error caused by upgrading
mingw64 to 5.0.3: 'undefined reference to `xmlFree''
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
|
|
Use the latest mingw64 release to get access to the latest Windows APIs
BUILDSDK_CPPFLAGS were emptied from poky.conf, but are needed for mingw
build to include correct float.h. (error: '_MCW_DN' undeclared here)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
|
|
Build of diffutils was requested/broken for mingw because of the commit
"diffutils: allow native & nativesdk builds"
This patch implements neccessary steps needed to build diffutils executables:
cmp.exe
diff.exe
diff3.exe
sdiff.exe
[YOCTO #12662]
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>
|
|
|
|
Signed-off-by: Ross Burton <ross.burton@intel.com>
|
|
Don't be overly specific by demanding 2.2%, 2.% is sufficient as this bbappend
simply changes some options.
Signed-off-by: Ross Burton <ross.burton@intel.com>
|
|
Signed-off-by: Ross Burton <ross.burton@intel.com>
|
|
oe_filter_out has been removed from oe-core so use the replacement function.
Signed-off-by: Ross Burton <ross.burton@intel.com>
|
|
The MinGW runtime doesn't provide libintl, so set gettext as the preferred
provider for libintl.
Signed-off-by: Ross Burton <ross.burton@intel.com>
|
|
Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Ross Burton <ross.burton@intel.com>
|
|
Each of the recipes modified fail the YP compatible checking script because
they modify the checksum of the package, even when the mingw32 SDK is not
enabled.
This is corrected by ensuring that each of the settings is only done when
the mingw32 override is enabled.
The PACKAGECONFIG options are moved to oe-core, as there is no way to
specify they should only available in the mingw32 override is enabled.
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
|
|
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
|
|
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
|
|
Signed-off-by: Ross Burton <ross.burton@intel.com>
|
|
Both glibc and musl provide their own implementation, but
meta-mingw still requires it.
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
|
|
oe-core now has 1.27 which solves the problem this patch was for, so remove the
obsolete bbappend and patch.
Signed-off-by: Ross Burton <ross.burton@intel.com>
|
|
Resolve bug with the generation of the versioninfo.rc file which depends
on the BUILD_REVISION being set during configure. The BUILD_REVISION is
unset when building against tarball source due to no git repository
information. This patch sets the BUILD_REVISION to 0 when no information
is available.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
libcap does not support mingw32, so disable 'capabilities' support for
the mingw32 targets.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
Handle packaging of .exe for the hmac/dumpexp packages. Also add the
packaging of mpicalc.exe to the -dev package.
Also handle the packaging of the .def files into the -dev package.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
Resolve bug with the generation of the versioninfo.rc file which depends
on the BUILD_REVISION being set during configure. The BUILD_REVISION is
unset when building against tarball source due to no git repository
information. This patch sets the BUILD_REVISION to 0 when no information
is available.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
Handle packaging gpg-error.exe in the -dev package.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|