mirror of
git://git.yoctoproject.org/meta-raspberrypi.git
synced 2025-07-19 21:09:03 +02:00
rpi-u-boot-scr: Set u-boot-default-script as provider
Add u-boot-default-script to the PROVIDES variable to make easier to replace boot script in another layer just by changing PREFERRED_PROVIDER_u-boot-default-script variable. Set rpi-u-boot-scr as the default provider for meta-raspberrypi. Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
This commit is contained in:
parent
acca2a00eb
commit
44d7dd0e4a
|
@ -58,7 +58,7 @@ do_image_rpi_sdimg[depends] = " \
|
||||||
rpi-config:do_deploy \
|
rpi-config:do_deploy \
|
||||||
${@bb.utils.contains('MACHINE_FEATURES', 'armstub', 'armstubs:do_deploy', '' ,d)} \
|
${@bb.utils.contains('MACHINE_FEATURES', 'armstub', 'armstubs:do_deploy', '' ,d)} \
|
||||||
${@bb.utils.contains('RPI_USE_U_BOOT', '1', 'u-boot:do_deploy', '',d)} \
|
${@bb.utils.contains('RPI_USE_U_BOOT', '1', 'u-boot:do_deploy', '',d)} \
|
||||||
${@bb.utils.contains('RPI_USE_U_BOOT', '1', 'rpi-u-boot-scr:do_deploy', '',d)} \
|
${@bb.utils.contains('RPI_USE_U_BOOT', '1', 'u-boot-default-script:do_deploy', '',d)} \
|
||||||
"
|
"
|
||||||
|
|
||||||
do_image_rpi_sdimg[recrdeps] = "do_build"
|
do_image_rpi_sdimg[recrdeps] = "do_build"
|
||||||
|
|
|
@ -11,3 +11,5 @@ PREFERRED_PROVIDER_jpeg ?= "jpeg"
|
||||||
|
|
||||||
PREFERRED_PROVIDER_virtual/libomxil ?= "userland"
|
PREFERRED_PROVIDER_virtual/libomxil ?= "userland"
|
||||||
VIRTUAL-RUNTIME_libomxil = "userland"
|
VIRTUAL-RUNTIME_libomxil = "userland"
|
||||||
|
|
||||||
|
PREFERRED_PROVIDER_u-boot-default-script ??= "rpi-u-boot-scr"
|
||||||
|
|
|
@ -24,3 +24,5 @@ do_deploy() {
|
||||||
}
|
}
|
||||||
|
|
||||||
addtask do_deploy after do_compile before do_build
|
addtask do_deploy after do_compile before do_build
|
||||||
|
|
||||||
|
PROVIDES += "u-boot-default-script"
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
DEPENDS_append_rpi = " rpi-u-boot-scr"
|
DEPENDS_append_rpi = " u-boot-default-script"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user