[OE-core] [PATCH] u-boot: Add RPROVIDES bootloader

Fabio Berton fabio.berton at ossystems.com.br
Fri Dec 2 13:59:52 UTC 2016


This change allow to install u-boot in /boot partition using
MACHINE_ESSENTIAL_EXTRA_RDEPENDS variable e.g.:

MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "bootloader"

This is usefull when system has only one partition and u-boot,
kernel and device tree need to be installed in /boot.

Signed-off-by: Fabio Berton <fabio.berton at ossystems.com.br>
---
 meta/recipes-bsp/u-boot/u-boot.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-bsp/u-boot/u-boot.inc b/meta/recipes-bsp/u-boot/u-boot.inc
index afe3fe9..3676158 100644
--- a/meta/recipes-bsp/u-boot/u-boot.inc
+++ b/meta/recipes-bsp/u-boot/u-boot.inc
@@ -1,5 +1,6 @@
 SUMMARY = "Universal Boot Loader for embedded devices"
 PROVIDES = "virtual/bootloader"
+RPROVIDES_${PN} += "bootloader"
 
 B = "${WORKDIR}/build"
 
-- 
2.1.4




More information about the Openembedded-core mailing list