diff options
| author | Jeff Ithier <ithijme@gmail.com> | 2020-07-25 08:56:56 +0200 |
|---|---|---|
| committer | Andrei Gherzan <andrei@gherzan.ro> | 2020-07-27 18:02:17 +0100 |
| commit | a907c3261ef583f898803706cd596d372c6644cb (patch) | |
| tree | 1681c4c24d0d15cae6097d6326fa527e761240be /recipes-kernel | |
| parent | eb2f6d460cac81cdf46da1deb5c6227d2f34e9af (diff) | |
| download | meta-raspberrypi-a907c3261ef583f898803706cd596d372c6644cb.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.inc | 4 |
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 | ||
| 132 | do_deploy_append() { | 132 | do_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 | } |
