summaryrefslogtreecommitdiffstats
path: root/conf/machine/include/rpi-base.inc
diff options
context:
space:
mode:
authorAndrei Gherzan <andrei@gherzan.ro>2020-08-06 11:53:27 +0100
committerAndrei Gherzan <andrei@gherzan.ro>2020-08-10 11:10:11 +0100
commit7a2624d5ba0e9d7f8a4b5f120e1e13759373f652 (patch)
treebec737567716c4539621e25b7dc9b17ea5d33927 /conf/machine/include/rpi-base.inc
parentfc494a35b513b05860c5a813239274017f1ef934 (diff)
downloadmeta-raspberrypi-7a2624d5ba0e9d7f8a4b5f120e1e13759373f652.tar.gz
Revert "Generalize the naming of the bootfiles deploy directory"
This reverts commit a907c3261ef583f898803706cd596d372c6644cb.
Diffstat (limited to 'conf/machine/include/rpi-base.inc')
-rw-r--r--conf/machine/include/rpi-base.inc8
1 files changed, 2 insertions, 6 deletions
diff --git a/conf/machine/include/rpi-base.inc b/conf/machine/include/rpi-base.inc
index 47a482f..c398705 100644
--- a/conf/machine/include/rpi-base.inc
+++ b/conf/machine/include/rpi-base.inc
@@ -84,10 +84,6 @@ MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "${@oe.utils.conditional('ENABLE_IR', '1'
84 84
85SERIAL_CONSOLES_CHECK ??= "${SERIAL_CONSOLES}" 85SERIAL_CONSOLES_CHECK ??= "${SERIAL_CONSOLES}"
86 86
87# The name of the deploy directory for raspberry pi boot files.
88# This variable is referred to by recipes fetching / generating the files.
89BOOTFILES_DIR_NAME ?= "bootfiles"
90
91# Set Raspberrypi splash image 87# Set Raspberrypi splash image
92SPLASH = "psplash-raspberrypi" 88SPLASH = "psplash-raspberrypi"
93 89
@@ -114,14 +110,14 @@ def make_dtb_boot_files(d):
114 return ' '.join([transform(dtb) for dtb in alldtbs.split(' ') if dtb]) 110 return ' '.join([transform(dtb) for dtb in alldtbs.split(' ') if dtb])
115 111
116 112
117IMAGE_BOOT_FILES ?= "${BOOTFILES_DIR_NAME}/* \ 113IMAGE_BOOT_FILES ?= "bcm2835-bootfiles/* \
118 ${@make_dtb_boot_files(d)} \ 114 ${@make_dtb_boot_files(d)} \
119 ${@bb.utils.contains('RPI_USE_U_BOOT', '1', \ 115 ${@bb.utils.contains('RPI_USE_U_BOOT', '1', \
120 '${KERNEL_IMAGETYPE} u-boot.bin;${SDIMG_KERNELIMAGE} boot.scr', \ 116 '${KERNEL_IMAGETYPE} u-boot.bin;${SDIMG_KERNELIMAGE} boot.scr', \
121 '${KERNEL_IMAGETYPE};${SDIMG_KERNELIMAGE}', d)} \ 117 '${KERNEL_IMAGETYPE};${SDIMG_KERNELIMAGE}', d)} \
122 " 118 "
123do_image_wic[depends] += " \ 119do_image_wic[depends] += " \
124 bootfiles:do_deploy \ 120 bcm2835-bootfiles:do_deploy \
125 ${@bb.utils.contains('RPI_USE_U_BOOT', '1', 'u-boot:do_deploy', '',d)} \ 121 ${@bb.utils.contains('RPI_USE_U_BOOT', '1', 'u-boot:do_deploy', '',d)} \
126 " 122 "
127 123