poky: fix typos
PATCH 1/3 poky: fix typos
From: Vivien Didelot <[email protected]>
Fix fromw -> from typo in poky-world-exclude.inc, and confiruration -> configuration in poky-tiny.conf.
--- meta-poky/conf/distro/include/poky-world-exclude.inc | 2 +- meta-poky/conf/distro/poky-tiny.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
meta-poky/conf/distro/include/poky-world-exclude.inc +1 -1
@@ -1,4 +1,4 @@ # -# Things we exlude fromw world testing within the reference distro +# Things we exlude from world testing within the reference distro #
meta-poky/conf/distro/poky-tiny.conf +1 -1
@@ -26,7 +26,7 @@ # [ ] Drop ldconfig from the installation # [ ] Modify the runqemu scripts to work with ext2 parameter: # runqemu qemux86 qemuparams="-nographic" bootparams="console=ttyS0,115200 root=0800" -# [ ] Modify busybox to allow for DISTRO_FEATURES-like confiruration +# [ ] Modify busybox to allow for DISTRO_FEATURES-like configuration require conf/distro/poky.conf require conf/distro/include/gcsections.inc
Signature · 1 line
2.30.1
PATCH 2/3 poky: don't use space with +=
From: Vivien Didelot <[email protected]>
Bitbake variables are usually appended with one of:
FOO_append = " bar"
FOO += "bar"
While the space is mandatory in the "_append" variant, it doesn't hurt in the "+=" variant, but it can be misleading.
Remove the space to avoid confusion.
--- meta-poky/conf/distro/poky.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta-poky/conf/distro/poky.conf +2 -2
@@ -25,8 +25,8 @@ PREFERRED_VERSION_linux-yocto-rt ?= "5.10%" SDK_NAME = "${DISTRO}-${TCLIBC}-${SDKMACHINE}-${IMAGE_BASENAME}-${TUNE_PKGARCH}-${MACHINE}" SDKPATH = "/opt/${DISTRO}/${SDK_VERSION}" -DISTRO_EXTRA_RDEPENDS += " ${POKY_DEFAULT_EXTRA_RDEPENDS}" -DISTRO_EXTRA_RRECOMMENDS += " ${POKY_DEFAULT_EXTRA_RRECOMMENDS}" +DISTRO_EXTRA_RDEPENDS += "${POKY_DEFAULT_EXTRA_RDEPENDS}" +DISTRO_EXTRA_RRECOMMENDS += "${POKY_DEFAULT_EXTRA_RRECOMMENDS}" TCLIBCAPPEND = ""
Signature · 1 line
2.30.1
PATCH 3/3 beaglebone-yocto: allow other virtual/bootloader
In reply to Vivien DidelotFrom: Vivien Didelot <[email protected]>
The beaglebone-yocto machine currently hardcodes "u-boot" as a dependency for the image and the wic format, and this prevents one from choosing a different bootloader via:
PREFERRED_PROVIDER_virtual/bootloader = "non-u-boot-bootloader"
Depending on "virtual/bootloader" instead of "u-boot" fixes this.
--- meta-yocto-bsp/conf/machine/beaglebone-yocto.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta-yocto-bsp/conf/machine/beaglebone-yocto.conf +2 -2
@@ -9,7 +9,7 @@ XSERVER ?= "xserver-xorg \ MACHINE_EXTRA_RRECOMMENDS = "kernel-modules kernel-devicetree" -EXTRA_IMAGEDEPENDS += "u-boot" +EXTRA_IMAGEDEPENDS += "virtual/bootloader" DEFAULTTUNE ?= "cortexa8hf-neon" include conf/machine/include/tune-cortexa8.inc
@@ -18,7 +18,7 @@ IMAGE_FSTYPES += "tar.bz2 jffs2 wic wic.bmap" EXTRA_IMAGECMD_jffs2 = "-lnp " WKS_FILE ?= "beaglebone-yocto.wks" IMAGE_INSTALL_append = " kernel-devicetree kernel-image-zimage" -do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot u-boot:do_deploy" +do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot virtual/bootloader:do_deploy" SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyO0 115200;ttyAMA0" SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
Signature · 1 line
2.30.1
Re: [poky] [meta-yocto][PATCH 3/3] beaglebone-yocto: allow other virtual/bootloader
Quoted 6 lines · Vivien Didelot
From: Vivien Didelot <[email protected]>
The beaglebone-yocto machine currently hardcodes "u-boot" as a dependency for the image and the wic format, and this prevents one from choosing a different bootloader via:
Quoted 6 lines
PREFERRED_PROVIDER_virtual/bootloader = "non-u-boot-bootloader"
Depending on "virtual/bootloader" instead of "u-boot" fixes this.
Cc Denys Dmytriyenko <[email protected]>Signed-off-by Vivien Didelot <[email protected]>
Quoted 29 lines
--- meta-yocto-bsp/conf/machine/beaglebone-yocto.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)meta-yocto-bsp/conf/machine/beaglebone-yocto.conf +2
-2@@ -9,7 +9,7 @@ XSERVER ?= "xserver-xorg \ MACHINE_EXTRA_RRECOMMENDS = "kernel-modules kernel-devicetree" -EXTRA_IMAGEDEPENDS += "u-boot" +EXTRA_IMAGEDEPENDS += "virtual/bootloader" DEFAULTTUNE ?= "cortexa8hf-neon" include conf/machine/include/tune-cortexa8.inc@@ -18,7 +18,7 @@ IMAGE_FSTYPES += "tar.bz2 jffs2 wic wic.bmap" EXTRA_IMAGECMD_jffs2 = "-lnp " WKS_FILE ?= "beaglebone-yocto.wks" IMAGE_INSTALL_append = " kernel-devicetree kernel-image-zimage" -do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot u-boot:do_deploy" +do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot virtual/bootloader:do_deploy" SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyO0 115200;ttyAMA0" SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"Signature · 1 line
2.30.1