aboutsummaryrefslogtreecommitdiffstats
path: root/README.txt
diff options
context:
space:
mode:
Diffstat (limited to 'README.txt')
-rw-r--r--README.txt33
1 files changed, 27 insertions, 6 deletions
diff --git a/README.txt b/README.txt
index ec860fd..d3694a6 100644
--- a/README.txt
+++ b/README.txt
@@ -14,9 +14,6 @@ This layer depends on:
Python layer (meta-openembedded/meta-python)
git://git.openembedded.org/meta-openembedded
-Modify local conf by adding:
- DISTRO="zephyr"
-
Add "meta-openembedded/meta-oe" to BBLAYERS
Add "meta-openembedded/meta-python" to BBLAYERS
Add "meta-zephyr-core" and "meta-zephyr-bsp" to BBLAYERS
@@ -25,6 +22,13 @@ Building and Running Zephyr Samples
===================================
You can build Zephyr samples. There are several sample recipes.
+
+To use the Yocto toolchain, modify local conf by adding:
+ DISTRO="zephyr"
+
+To use the Zephyr pre-built toolchain, modify local conf by adding:
+ ZEPHYR_TOOLCHAIN_VARIANT = "zephyr"
+
For example, to build the Zephyr "philosophers" sample:
$ MACHINE=qemu-x86 bitbake zephyr-philosophers
@@ -121,15 +125,32 @@ you will need to run the above, copy the conf files from the deploy dir to the
machine conf directory and then run your build. This shouldn't need to happen
often.
+Generating new Zephyr recipe versions
+=====================================
+The script meta-zephyr-core/scripts/generate-version.py is used to generate
+Yocto configuration for a Zephyr version from the West configuration in the
+Zephyr repository. It requires the west and jinja2 Python packages to be
+installed on the host. Run it as follows:
+
+ $ ./meta-zephyr-core/scripts/generate-version.py x.x.x
+
+where x.x.x is the Zephyr version.
+
+The patch files added to SRC_URI in the generated file should be validated and
+modified if required.
+
+The new version should be committed and submitted to the mailing list as
+described in "Contributing".
+
Contributing
============
-Patches for meta-zephyr should be sent to the yocto@lists.yoctoproject.org
-mailing list. See https://lists.yoctoproject.org/g/yocto for subscription
+Patches for meta-zephyr should be sent to the yocto-patches@lists.yoctoproject.org
+mailing list. See https://lists.yoctoproject.org/g/yocto-patches for subscription
details and the list archive. Please add [meta-zephyr] to the subject so
the patches are identifable.
Git can be configured to send mails appropriately when using git send-email:
-$ git config --local sendemail.to yocto@lists.yoctoproject.org
+$ git config --local sendemail.to yocto-patches@lists.yoctoproject.org
$ git config --local format.subjectPrefix meta-zephyr][PATCH