Build openssl.exe and several .dll files needed to run openssl
under Windows
Signed-off-by: Juro Bystricky
---
.../openssl/openssl/mingw-targets.patch | 13 +
recipes-connectivity/openssl/openssl_1.0.2o.bbappend | 19 +++
2 files changed, 32 insertions
Patch to allow building openssl for Windows.
openssl can also become part of SDK, i.e:
SDKMACHINE="x86_64-mingw32"
MACHINE = "qemux86-64"
TOOLCHAIN_HOST_TASK_append = " nativesdk-openssl "
Juro Bystricky (1):
openssl: build for mingw
.../opens
Now that we can build qemu for mingw, include it in SDK.
Signed-off-by: Juro Bystricky
---
recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bbappend | 1 +
1 file changed, 1 insertion(+)
diff --git
a/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bbappend
b/recipes-core
Autobuilder as well
Juro Bystricky (1):
nativesdk-packagegroup-sdk-host: add qemu to SDK
recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bbappend | 1 +
1 file changed, 1 insertion(+)
--
2.7.4
--
___
yocto mailing list
yocto@yoctoproject.org
Now that we can build qemu for mingw, include it in SDK.
Signed-off-by: Juro Bystricky
---
recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bbappend | 1 +
1 file changed, 1 insertion(+)
diff --git
a/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bbappend
b/recipes-core
xclude "socketpair" for _WIN32, but the
modified patch for qemu 2.11.0 removed this.
The fix is to simply remove the offending patch.
Signed-off-by: Juro Bystricky
---
recipes-devtools/qemu/qemu_2.11.%.bbappend | 4
1 file changed, 4 insertions(+)
create mode 100644 recipes-
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:
Due to a silly typo we use incorrect open flags.
Signed-off-by: Juro Bystricky
---
ports/darwin/guts/open.c | 2 +-
ports/linux/guts/openat.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ports/darwin/guts/open.c b/ports/darwin/guts/open.c
index f34b0d3..307bcc9 100644
Implement a class allowing flashing Arduino-101 using dfu-util.
User needs to have dfu-utils installed on the host machine.
All tree cores supported (x86, ARM, ARC)
Sample usage:
$ MACHINE=arduino-101 bitbake xxx
$ MACHINE=arduino-101 bitbake xxx -c flash_usb
Signed-off-by: Juro
noticable difference.
Signed-off-by: Juro Bystricky
---
lib/oeqa/controllers/zephyrtargetconrol.py | 66 -
lib/oeqa/controllers/zephyrtargetcontrol.py | 66 +
lib/oeqa/runtime/zephyr.py | 29 +++--
lib/oeqa/utils
A bbclass used to generate qemuboot.conf and various symbolic
links needed to properly run "runqemu".
Signed-off-by: Juro Bystricky
---
classes/zephyr-qemuboot.bbclass | 39 +++
1 file changed, 39 insertions(+)
create mode 100644 clas
support for:
$ bitbake zephyr-kernel-test-all -c clean
Signed-off-by: Juro Bystricky
---
recipes-kernel/zephyr-kernel/zephyr-kernel-test-all.bb | 1 +
1 file changed, 1 insertion(+)
diff --git a/recipes-kernel/zephyr-kernel/zephyr-kernel-test-all.bb
b/recipes-kernel/zephyr-kernel/zephyr
.
Additional minor cleanup.
Signed-off-by: Juro Bystricky
---
classes/zephyrtest.bbclass| 10 --
recipes-kernel/zephyr-kernel/zephyr-kernel-common.inc | 1 +
recipes-kernel/zephyr-kernel/zephyr-kernel.inc| 3 +++
3 files changed, 8 insertions(+), 6 deletions
Add support to run qemus using runqemu.
All qemu machines will inherit the bbclass "zephyr-qemuboot",
which is responsible to set up everything that is needed
in order to use "runqemu".
Signed-off-by: Juro Bystricky
---
conf/machine/qemu-cortex-m3.conf | 8 ++--
conf/mac
Also build qemus if a recipe is built for a MACHINE=qemuXXX.
Allow inheriting classes based on recipe context.
Signed-off-by: Juro Bystricky
---
recipes-kernel/zephyr-kernel/zephyr-kernel-common.inc | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/recipes-kernel/zephyr
Signed-off-by: Juro Bystricky
---
recipes-zephyr/zephyr-getchar/zephyr-getchar_git.bb | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/recipes-zephyr/zephyr-getchar/zephyr-getchar_git.bb
b/recipes-zephyr/zephyr-getchar/zephyr-getchar_git.bb
index 3a34b22..f721033 100644
The attached series of patches containes various improvements for
meta-zephyr. These are intended for a new meta-zephyr branch "morty".
Juro Bystricky (7):
zephyr-kernel-common.inc: also build qemus if needed
zephyr-philosophers: use common naming conventions
zephyr-getchar: min
Derive the name of the resulting image based on PN.
Signed-off-by: Juro Bystricky
---
recipes-kernel/zephyr-kernel/zephyr-philosophers.bb | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/recipes-kernel/zephyr-kernel/zephyr-philosophers.bb
b/recipes-kernel/zephyr-kernel
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
---
recipes-devtools/pthreads-win32/pthreads-win32_2.9.1.bb | 2 +-
1 file
Also replaced all "qemux86" with "qemu-x86"
Signed-off-by: Juro Bystricky
---
README.txt | 32 +++-
1 file changed, 19 insertions(+), 13 deletions(-)
diff --git a/README.txt b/README.txt
index cb9a36a..230ad41 100644
--- a/README.txt
+++ b/REA
Signed-off-by: Juro Bystricky
---
lib/oeqa/utils/qemuzephyrrunner.py | 6 ++
1 file changed, 6 insertions(+)
diff --git a/lib/oeqa/utils/qemuzephyrrunner.py
b/lib/oeqa/utils/qemuzephyrrunner.py
index 441e0d6..2011434 100644
--- a/lib/oeqa/utils/qemuzephyrrunner.py
+++ b/lib/oeqa/utils
Signed-off-by: Juro Bystricky
---
recipes-kernel/zephyr-kernel/zephyr-kernel-test.inc | 3 +++
1 file changed, 3 insertions(+)
diff --git a/recipes-kernel/zephyr-kernel/zephyr-kernel-test.inc
b/recipes-kernel/zephyr-kernel/zephyr-kernel-test.inc
index ecc183c..2e92ca2 100644
--- a/recipes
does not support Nios2, so a patch was needed to provide
the Nios2 emulation (CPU, intc, timer, ...)
As with all other supported Zephyr boards, the BOARD=qemu_nios2 required
the creation of a corresponding MACHINE=qemu-nios2
Usage is described in the (updated) README.txt file.
Juro Bystricky (4
This patch adds newlib libraries for cortex-m3, x86, IAMCU and ARC toolchains.
[YOCTO#10662]
Signed-off-by: Juro Bystricky
---
conf/distro/zephyr.conf| 1 +
recipes-core/newlib/newlib/assert-fiprintf.patch | 23 ++
.../newlib/newlib/gettimeofday-header
r favorite editor to edit the file.
For proper operation, these two variables need to be set in
recipes:
ZEPHYR_SRC_DIR : path to the source, typically place with prj.conf
ZEPHYR_BASE: Zephyr kernel tree location
[YOCTO#10657]
Signed-off-by: Juro Bystricky
---
classes/zeph
MACHINE definition for Zephyr BOARD qemu_x86
Signed-off-by: Juro Bystricky
---
conf/machine/qemu-x86.conf | 11 +++
1 file changed, 11 insertions(+)
create mode 100644 conf/machine/qemu-x86.conf
diff --git a/conf/machine/qemu-x86.conf b/conf/machine/qemu-x86.conf
new file mode 100644
Signed-off-by: Juro Bystricky
---
recipes-devtools-arc/gcc/gcc-6.x.arc.inc | 2 --
1 file changed, 2 deletions(-)
diff --git a/recipes-devtools-arc/gcc/gcc-6.x.arc.inc
b/recipes-devtools-arc/gcc/gcc-6.x.arc.inc
index 5453373..adad25a 100644
--- a/recipes-devtools-arc/gcc/gcc-6.x.arc.inc
+++ b
zephyr BOARD qemu_x86
3. Support for "newlib", for all supported toolchains: x86, IAMCU, ARM and ARC.
4. Minor housekeeping (removed unneeded patches, modified descriptions, etc.)
Juro Bystricky (5):
qemu-cortex-m3.conf: updated NAME/DESCRIPTION
qemu-x86.conf: New MACHINE
gcc (ARC
Signed-off-by: Juro Bystricky
---
conf/machine/qemu-cortex-m3.conf | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/conf/machine/qemu-cortex-m3.conf b/conf/machine/qemu-cortex-m3.conf
index 13f76af..aeb9a69 100644
--- a/conf/machine/qemu-cortex-m3.conf
+++ b/conf/machine
, presently all
that is required is to convert "-" to "_". (Dash to undersocre)
This means that in order to support a new Zephyr board, we simply need to
create a corresponding MACHINE.conf file.
[YOCTO#10894]
Signed-off-by: Juro Bystricky
---
con
Deploy both binary and ELF images in order to make
it easier to flash the image on an actual board, such as Arduino-101.
(Some flashing tools require binary image)
Signed-off-by: Juro Bystricky
---
recipes-kernel/zephyr-kernel/zephyr-philosophers.bb | 1 +
1 file changed, 1 insertion(+)
diff
Several changes to simplify recipes by refactoring
common code. The code common to all Zephyr builds is
now in the file "zephyr-kernel-common.inc".
Signed-off-by: Juro Bystricky
---
recipes-kernel/zephyr-kernel/zephyr-image.inc | 21 +
.../zephyr-kernel/zep
Added support for ARC toolchains: binutils, gcc, libgcc.
These are not upstreamed, but taken from Symantec ARC repos.
[YOCTO#10659]
Signed-off-by: Juro Bystricky
---
recipes-devtools-arc/binutils/binutils-2.26arc.inc | 37 +
.../binutils/binutils-cross-canadian_2.26arc.bb| 7
Added support for Zephyr arduino_101_sss board (ARC core).
The support requires ARC toolchain.
Signed-off-by: Juro Bystricky
---
conf/machine/arduino-101-sss.conf | 18 ++
conf/machine/include/tune-arc.inc | 34 ++
2 files changed, 52 insertions
Support for Arduino-101 board, Intel MCU CPU.
This board needs IAMCU cross-compiler.
[YOCTO#10658]
Signed-off-by: Juro Bystricky
---
conf/machine/arduino-101.conf | 10 ++
conf/machine/include/tune-iamcu.inc | 19 +++
2 files changed, 29 insertions(+)
create mode
nor naming discrepancies.
This patch series also contains definitions for a new MACHINE=qemu-cortex-m3,
corresponding to Zephyr BOARD=qemu_cortex_m3.
The patch series was successfully tested with real harware, where the resulting
images were flashed and functioned as expected (kudos to Henry Bruce).
Juro
Various changes to properly handle QEMU for Cortex M3.
This was solved by creating a new MACHINE qemu-cortex-m3.
Specifying MACHINE=qemu-cortex-m3 will select proper tuning
for the cross-compiler.
Typical usage:
$ MACHINE=qemu-cortex-m3 bitbake zephyr-philosophers
Signed-off-by: Juro
abling the plugin support, the LTO support should also now work properly.
Signed-off-by: Mark Hatle
Signed-off-by: Juro Bystricky
---
recipes-devtools/binutils/binutils-cross-canadian_2.2%.bbappend | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/recipes-devtools/binutils/binu
This meta-mingw patch for jethro by Mark Hatle is also needed for
krogoth and morty/master as well, otherwise the linker will fail, not being able
to load lto plugins.
Original patch:
https://git.yoctoproject.org/cgit/cgit.cgi/meta-mingw-contrib/commit/?h=mgh/jetho/meta-mingw
Juro Bystricky (1
`push'
Error: invalid instruction suffix for `pop'
Signed-off-by: Juro Bystricky
---
recipes-devtools/gcc/gcc-crosssdk-initial_%.bbappend | 2 ++
1 file changed, 2 insertions(+)
diff --git a/recipes-devtools/gcc/gcc-crosssdk-initial_%.bbappend
b/recipes-devtools/gcc/gcc-crosssd
OPTS_append_mingw32 = " -h --hard-dereference"
bitbake core-image-minimal -c populate_sdk
Presently all deployables may need to be manually re-packaged for deployment on
Windows as the packages are typically in *.tar.xz or .rpm format (possibly
containing symbolic links).
Juro Bystricky (3
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
---
recipes-dev
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
---
recipes-devtools/mingw-w64/nativesdk-mingw-w64-runtime_3.1.0.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion
Tested with 7.11.
Signed-off-by: Juro Bystricky
---
recipes-devtools/gdb/gdb-cross-canadian_7.%.bbappend | 7 +++
recipes-devtools/gdb/gdb-cross-canadian_7.9.1.bbappend | 5 -
2 files changed, 7 insertions(+), 5 deletions(-)
create mode 100644 recipes-devtools/gdb/gdb-cross
Tested with 3.1.4.
Signed-off-by: Juro Bystricky
---
recipes-support/mpfr/mpfr_3.1.%.bbappend | 1 +
recipes-support/mpfr/mpfr_3.1.3.bbappend | 1 -
2 files changed, 1 insertion(+), 1 deletion(-)
create mode 100644 recipes-support/mpfr/mpfr_3.1.%.bbappend
delete mode 100644 recipes-support
Modified to work properly with later versions.
Only static build supported.
(Tested up to 0.19.8.1)
Signed-off-by: Juro Bystricky
---
recipes-core/gettext/gettext_0.19.%.bbappend | 6 ++
recipes-core/gettext/gettext_0.19.4.bbappend | 2 --
2 files changed, 6 insertions(+), 2 deletions
Tested up to 2.27
Signed-off-by: Juro Bystricky
---
recipes-devtools/binutils/binutils-cross-canadian_2.2%.bbappend | 5 +
recipes-devtools/binutils/binutils-cross-canadian_2.25%.bbappend | 5 -
2 files changed, 5 insertions(+), 5 deletions(-)
create mode 100644
recipes-devtools
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
---
conf/machine-sdk/i686-mingw32.conf | 7
libitm mingw build presently not supported, so don't build it.
Signed-off-by: Juro Bystricky
---
recipes-devtools/gcc/gcc-runtime_%.bbappend | 1 +
1 file changed, 1 insertion(+)
diff --git a/recipes-devtools/gcc/gcc-runtime_%.bbappend
b/recipes-devtools/gcc/gcc-runtime_%.bbappend
Not needed anymore.
Signed-off-by: Juro Bystricky
---
recipes-support/gmp/gmp_6.0.0.bbappend | 3 ---
1 file changed, 3 deletions(-)
delete mode 100644 recipes-support/gmp/gmp_6.0.0.bbappend
diff --git a/recipes-support/gmp/gmp_6.0.0.bbappend
b/recipes-support/gmp/gmp_6.0.0.bbappend
deleted
current poky master as well, and succeed
in cross-compiling
of the most common recipes (for both SDKMACHINE=i686-mingw32 and
SDKMACHINE=x86_64-mingw32)
such as:
bitbake gcc-cross-canadian-i586
bitbake gdb-cross-canadian-i586
bitbake meta-toolchain
bitbake core-image-minimal -c po
The routine psplash_fb_plot_pixel implicitly assumed little endian
format when plotting pixels in RGB888 or BGR888 modes.
Signed-off-by: Juro Bystricky
---
psplash-fb.c | 29 +
1 file changed, 25 insertions(+), 4 deletions(-)
diff --git a/psplash-fb.c b/psplash-fb.c
Signed-off-by: Juro Bystricky
---
psplash-fb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/psplash-fb.c b/psplash-fb.c
index bd9cd9d..e71af8f 100644
--- a/psplash-fb.c
+++ b/psplash-fb.c
@@ -185,7 +185,7 @@ psplash_fb_new (int angle)
fb->rgbmode = RGB
. 24BPP changes only affect big endian mode, little endian
should be the same as before. (If you are aware of anybody actually using 24BPP
modes, please let me know)
Tested with jethro/core-image-sato (qemuppc, qemumips, qemuarm).
Juro Bystricky (2):
psplash-fb.c: Fix BGR888 detection
psplash
Set of patches to allow building against OSX Yosemite v10.10 runtime.
Signed-off-by: Juro Bystricky
---
.../files/fix_typedef_dispatch_block_t.patch | 16 +
.../files/foundation_framework_headers_clang.patch | 1065
.../osx-runtime/files/fsevents-clang.patch
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
---
README | 26 +-
1 file changed, 25 insertions(+), 1 deletion(-)
diff
exists for: ZPL
in any provider
WARNING: nativesdk-mingw-w64-runtime: No generic license file exists for: ZPL
in any provider
Signed-off-by: Juro Bystricky
---
conf/layer.conf | 1 +
files/additional-licenses/ZPL | 43 +++
2 files changed, 44
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
---
recipes-support/mpfr/mpfr_3.1.2.bbappend | 1 -
recipes-support/mpfr/mpfr_3.1.3.bbappend | 1 +
2 files changed, 1 insertion(+), 1 deletion(-)
delete mode 100644 recipes
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
---
recipes-core/gettext/gettext_0.19.4.bbappend | 2 ++
1 file changed, 2 insertion
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
---
recipes-devtools/gdb/gdb-cross-canadian_7.8.1.bbappend | 5 -
recipes-devtools/gdb/gdb-cross-canadian_7.9.1.bbappend
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
---
recipes-devtools/libtool/nativesdk-libtool_2.4.2.bbappend | 1 -
recipes-devtools/libtool/nativesdk-libtool_2.4.6.bbappend
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
---
recipes-support/libmpc/libmpc_1.0.3.bbappend | 1 +
recipes-support/mpc/libmpc_1.0.2
Renamed the file binutils-cross-canadian_2.24.bbappend to
binutils-cross-canadian_2.25.bbappend.
Signed-off-by: Juro Bystricky
---
recipes-devtools/binutils/binutils-cross-canadian_2.24.bbappend | 5 -
recipes-devtools/binutils/binutils-cross-canadian_2.25.bbappend | 5 +
2 files
Several recipes have been updated, so the corresponding .bbappend files became
stale.
The attached patches correspond to various updated recipes.
I tested the patches with meta-mingw layer and:
SDKMACHINE="i686-mingw32"
bitbake meta-toolchain
Juro Bystricky (6):
binutils-cros
Fixed references to meta-darwin.
Signed-off-by: Juro Bystricky
---
README | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README b/README
index 61eda1b..96995b8 100644
--- a/README
+++ b/README
@@ -1,4 +1,4 @@
-meta-darwin
+meta-mingw
==
OpenEmbedded meta layer
65 matches
Mail list logo