diff options
author | Uros Majstorovic <majstor@majstor.org> | 2021-08-27 02:50:19 +0200 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2021-08-27 02:50:19 +0200 |
commit | 01270b114be7a82a4dbeae7a3d40c83495224842 (patch) | |
tree | a1a37b6fbc3a7e09c47695a0ef980500ad258320 /recipes-bsp/imx-mkimage | |
parent | 52bbf971706df3752d5a41879495740041a4a735 (diff) | |
parent | 5c6a2266ffa6780935959af6c96ffc8dd8e2dc1a (diff) |
Merge remote-tracking branch 'meta-bsp-rvphone/master'
Diffstat (limited to 'recipes-bsp/imx-mkimage')
-rw-r--r-- | recipes-bsp/imx-mkimage/imx-boot_%.bbappend | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes-bsp/imx-mkimage/imx-boot_%.bbappend b/recipes-bsp/imx-mkimage/imx-boot_%.bbappend new file mode 100644 index 0000000..5fa1774 --- /dev/null +++ b/recipes-bsp/imx-mkimage/imx-boot_%.bbappend @@ -0,0 +1,13 @@ +do_compile_preppend () { + make_file=${S}/iMX8M/soc.mak + if [ -e ${make_file} ]; then + sed -i "s/^dtbs = .*dtb/dtbs = ${UBOOT_DTB_NAME}/g" ${make_file} + if [ ! -z ${DDR_FIRMWARE_VERSION} ]; then + sed -i "/^lpddr4_.mem_.d = / i LPDDR_FW_VERSION = _${DDR_FIRMWARE_VERSION}" ${make_file} + fi + fi +} + +addtask compile_preppend before do_compile after do_configure + +COMPATIBLE_MACHINE = "(cl-imx8)" |