diff options
Diffstat (limited to 'classes/sdcard_image-rpi.bbclass')
-rw-r--r-- | classes/sdcard_image-rpi.bbclass | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/classes/sdcard_image-rpi.bbclass b/classes/sdcard_image-rpi.bbclass index ba50aa5..0ae98cd 100644 --- a/classes/sdcard_image-rpi.bbclass +++ b/classes/sdcard_image-rpi.bbclass | |||
@@ -25,9 +25,6 @@ inherit image_types | |||
25 | # This image depends on the rootfs image | 25 | # This image depends on the rootfs image |
26 | IMAGE_TYPEDEP_rpi-sdimg = "${SDIMG_ROOTFS_TYPE}" | 26 | IMAGE_TYPEDEP_rpi-sdimg = "${SDIMG_ROOTFS_TYPE}" |
27 | 27 | ||
28 | # Set kernel and boot loader | ||
29 | IMAGE_BOOTLOADER ?= "bootfiles" | ||
30 | |||
31 | # Kernel image name | 28 | # Kernel image name |
32 | SDIMG_KERNELIMAGE_raspberrypi ?= "kernel.img" | 29 | SDIMG_KERNELIMAGE_raspberrypi ?= "kernel.img" |
33 | SDIMG_KERNELIMAGE_raspberrypi2 ?= "kernel7.img" | 30 | SDIMG_KERNELIMAGE_raspberrypi2 ?= "kernel7.img" |
@@ -56,7 +53,7 @@ do_image_rpi_sdimg[depends] = " \ | |||
56 | mtools-native:do_populate_sysroot \ | 53 | mtools-native:do_populate_sysroot \ |
57 | dosfstools-native:do_populate_sysroot \ | 54 | dosfstools-native:do_populate_sysroot \ |
58 | virtual/kernel:do_deploy \ | 55 | virtual/kernel:do_deploy \ |
59 | ${IMAGE_BOOTLOADER}:do_deploy \ | 56 | rpi-bootfiles:do_deploy \ |
60 | ${@bb.utils.contains('MACHINE_FEATURES', 'armstub', 'armstubs:do_deploy', '' ,d)} \ | 57 | ${@bb.utils.contains('MACHINE_FEATURES', 'armstub', 'armstubs:do_deploy', '' ,d)} \ |
61 | ${@bb.utils.contains('RPI_USE_U_BOOT', '1', 'u-boot:do_deploy', '',d)} \ | 58 | ${@bb.utils.contains('RPI_USE_U_BOOT', '1', 'u-boot:do_deploy', '',d)} \ |
62 | ${@bb.utils.contains('RPI_USE_U_BOOT', '1', 'u-boot-default-script:do_deploy', '',d)} \ | 59 | ${@bb.utils.contains('RPI_USE_U_BOOT', '1', 'u-boot-default-script:do_deploy', '',d)} \ |