diff options
-rw-r--r-- | classes/sdcard_image-rpi.bbclass | 2 | ||||
-rw-r--r-- | conf/machine/include/rpi-default-providers.inc | 2 | ||||
-rw-r--r-- | recipes-bsp/rpi-u-boot-scr/rpi-u-boot-scr.bb | 2 | ||||
-rw-r--r-- | recipes-bsp/u-boot/u-boot_%.bbappend | 2 |
4 files changed, 6 insertions, 2 deletions
diff --git a/classes/sdcard_image-rpi.bbclass b/classes/sdcard_image-rpi.bbclass index 177988e..43426b2 100644 --- a/classes/sdcard_image-rpi.bbclass +++ b/classes/sdcard_image-rpi.bbclass | |||
@@ -58,7 +58,7 @@ do_image_rpi_sdimg[depends] = " \ | |||
58 | rpi-config:do_deploy \ | 58 | rpi-config:do_deploy \ |
59 | ${@bb.utils.contains('MACHINE_FEATURES', 'armstub', 'armstubs:do_deploy', '' ,d)} \ | 59 | ${@bb.utils.contains('MACHINE_FEATURES', 'armstub', 'armstubs:do_deploy', '' ,d)} \ |
60 | ${@bb.utils.contains('RPI_USE_U_BOOT', '1', 'u-boot:do_deploy', '',d)} \ | 60 | ${@bb.utils.contains('RPI_USE_U_BOOT', '1', 'u-boot:do_deploy', '',d)} \ |
61 | ${@bb.utils.contains('RPI_USE_U_BOOT', '1', 'rpi-u-boot-scr:do_deploy', '',d)} \ | 61 | ${@bb.utils.contains('RPI_USE_U_BOOT', '1', 'u-boot-default-script:do_deploy', '',d)} \ |
62 | " | 62 | " |
63 | 63 | ||
64 | do_image_rpi_sdimg[recrdeps] = "do_build" | 64 | do_image_rpi_sdimg[recrdeps] = "do_build" |
diff --git a/conf/machine/include/rpi-default-providers.inc b/conf/machine/include/rpi-default-providers.inc index d5785fa..181b936 100644 --- a/conf/machine/include/rpi-default-providers.inc +++ b/conf/machine/include/rpi-default-providers.inc | |||
@@ -11,3 +11,5 @@ PREFERRED_PROVIDER_jpeg ?= "jpeg" | |||
11 | 11 | ||
12 | PREFERRED_PROVIDER_virtual/libomxil ?= "userland" | 12 | PREFERRED_PROVIDER_virtual/libomxil ?= "userland" |
13 | VIRTUAL-RUNTIME_libomxil = "userland" | 13 | VIRTUAL-RUNTIME_libomxil = "userland" |
14 | |||
15 | PREFERRED_PROVIDER_u-boot-default-script ??= "rpi-u-boot-scr" | ||
diff --git a/recipes-bsp/rpi-u-boot-scr/rpi-u-boot-scr.bb b/recipes-bsp/rpi-u-boot-scr/rpi-u-boot-scr.bb index 593fc90..4cb8978 100644 --- a/recipes-bsp/rpi-u-boot-scr/rpi-u-boot-scr.bb +++ b/recipes-bsp/rpi-u-boot-scr/rpi-u-boot-scr.bb | |||
@@ -24,3 +24,5 @@ do_deploy() { | |||
24 | } | 24 | } |
25 | 25 | ||
26 | addtask do_deploy after do_compile before do_build | 26 | addtask do_deploy after do_compile before do_build |
27 | |||
28 | PROVIDES += "u-boot-default-script" | ||
diff --git a/recipes-bsp/u-boot/u-boot_%.bbappend b/recipes-bsp/u-boot/u-boot_%.bbappend index 95015f4..9ce6425 100644 --- a/recipes-bsp/u-boot/u-boot_%.bbappend +++ b/recipes-bsp/u-boot/u-boot_%.bbappend | |||
@@ -1 +1 @@ | |||
DEPENDS_append_rpi = " rpi-u-boot-scr" | DEPENDS_append_rpi = " u-boot-default-script" | ||