summaryrefslogtreecommitdiff
path: root/recipes-bsp/imx-mkimage
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2021-08-07 00:46:38 +0200
committerUros Majstorovic <majstor@majstor.org>2021-08-07 00:46:38 +0200
commitce92f3508c05bff4f06a27f01e8f737b706ff48e (patch)
tree86d4960637cde5c1e808496920cec67caadb2429 /recipes-bsp/imx-mkimage
initial commit
Diffstat (limited to 'recipes-bsp/imx-mkimage')
-rw-r--r--recipes-bsp/imx-mkimage/imx-boot_%.bbappend10
1 files changed, 10 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..fa00ccc
--- /dev/null
+++ b/recipes-bsp/imx-mkimage/imx-boot_%.bbappend
@@ -0,0 +1,10 @@
+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}
+ fi
+}
+
+addtask compile_preppend before do_compile after do_configure
+
+COMPATIBLE_MACHINE = "(cl-imx8)"