summaryrefslogtreecommitdiffstats
path: root/recipes-kernel
diff options
context:
space:
mode:
authorJeff Ithier <ithijme@gmail.com>2020-07-25 08:56:56 +0200
committerAndrei Gherzan <andrei@gherzan.ro>2020-08-06 11:00:29 +0100
commitf046b4128c9ca3420614887006101fa2b10fc6e7 (patch)
tree21d8c714b7f9548b84a09b24d6520ac53ef4517a /recipes-kernel
parent11318d2da103626761f0be0b03a166452416a09f (diff)
downloadmeta-raspberrypi-f046b4128c9ca3420614887006101fa2b10fc6e7.tar.gz
Generalize the naming of the bootfiles deploy directory
The raspberry pi 4 variant has a BCM2711 chip, however it still uses the same boot files as the BCM2835 used in previous generations. This change generalizes the naming of the directory generated in the $DEPLOY_DIR to avoid the implication that the files are only meant for the BCM2835. Signed-off-by: Jeff Ithier <ithijme@gmail.com>
Diffstat (limited to 'recipes-kernel')
-rw-r--r--recipes-kernel/linux/linux-raspberrypi.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes-kernel/linux/linux-raspberrypi.inc b/recipes-kernel/linux/linux-raspberrypi.inc
index 3c3a8e5..f7dee77 100644
--- a/recipes-kernel/linux/linux-raspberrypi.inc
+++ b/recipes-kernel/linux/linux-raspberrypi.inc
@@ -131,10 +131,10 @@ do_compile_append() {
131 131
132do_deploy_append() { 132do_deploy_append() {
133 # Deploy cmdline.txt 133 # Deploy cmdline.txt
134 install -d ${DEPLOYDIR}/bcm2835-bootfiles 134 install -d ${DEPLOYDIR}/${BOOTFILES_DIR_NAME}
135 PITFT="${@bb.utils.contains("MACHINE_FEATURES", "pitft", "1", "0", d)}" 135 PITFT="${@bb.utils.contains("MACHINE_FEATURES", "pitft", "1", "0", d)}"
136 if [ ${PITFT} = "1" ]; then 136 if [ ${PITFT} = "1" ]; then
137 PITFT_PARAMS="fbcon=map:10 fbcon=font:VGA8x8" 137 PITFT_PARAMS="fbcon=map:10 fbcon=font:VGA8x8"
138 fi 138 fi
139 echo "${CMDLINE}${PITFT_PARAMS}" > ${DEPLOYDIR}/bcm2835-bootfiles/cmdline.txt 139 echo "${CMDLINE}${PITFT_PARAMS}" > ${DEPLOYDIR}/${BOOTFILES_DIR_NAME}/cmdline.txt
140} 140}