kumquat-buildroot/board/stmicroelectronics
Grzegorz Szymaszek b8c492068b board/stm32mp157: remove hardcoded device tree names from post-image.sh
The post-image.sh script is used in several STM32MP157-based board
configs. It had hardcoded device tree file names for the supported
boards which were used for matching the expected TF-A binary name.
Replace this mechanism with a pair of grep and sed that build the TF-A
binary name from the device tree file name. For example, if
BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES contained
DTB_FILE_NAME=stm32mp157c-dk2.dtb, the appropriate TF-A file would be
named tf-a-stm32mp157c-dk2.stm32.

Since the Bash Here Strings are removed with this change, I took the
opportunity to remove the only other non-POSIX command, "local", and
then I was able to change the shebang to plain /bin/sh, with -eu for
simpler error handling.

Signed-off-by: Grzegorz Szymaszek <gszymaszek@short.pl>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2023-09-30 21:15:45 +02:00
..
common board/stm32mp157: remove hardcoded device tree names from post-image.sh 2023-09-30 21:15:45 +02:00
stm32f429-disco configs/stm32f429_disco_xip_defconfig: fix runtime error due to low ram space and bump to linux version 6.1.27 2023-05-07 14:46:08 +02:00
stm32f469-disco configs/stm32f4{2|6}9_*_defconfig: rename configurations 2021-12-17 22:58:12 +01:00
stm32f769-disco configs/stm32f769_disco_sd_defconfig: new defconfig 2023-05-13 20:03:42 +02:00
stm32mp157a-dk1
stm32mp157c-dk2