summaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
authorFabio Berton <fabio.berton@ossystems.com.br>2016-10-17 17:44:51 -0200
committerOtavio Salvador <otavio@ossystems.com.br>2016-10-18 16:26:15 -0200
commit0504570f0c8cf50dd7489ba07187abac358a7c27 (patch)
tree1c85692ec7757a0f3b7d8352002a8f7a9bf1cfd2 /classes
parent57bd2af545a8f0f587e1e1b4a4d9f2483ae80540 (diff)
downloadmeta-freescale-0504570f0c8cf50dd7489ba07187abac358a7c27.tar.gz
classes/image_types_fsl: Add support to use uboot extlinux
Class that allows extlinux.conf generation for U-Boot use was introduced on OE-core commits: - 7c18abeb2a6ef8b7bb53aa92a9ee76bd465fada2 - 33df3a65f3e8e136811da715d0cc247ce66ae0ea We need to copy extlinux.conf file to boot partition inside /extlinux directory. This file will be only copied if UBOOT_EXTLINUX is set to 1. Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'classes')
-rw-r--r--classes/image_types_fsl.bbclass6
1 files changed, 6 insertions, 0 deletions
diff --git a/classes/image_types_fsl.bbclass b/classes/image_types_fsl.bbclass
index 9a65747a..399bcd08 100644
--- a/classes/image_types_fsl.bbclass
+++ b/classes/image_types_fsl.bbclass
@@ -139,6 +139,12 @@ _generate_boot_image() {
139 fi 139 fi
140 done 140 done
141 fi 141 fi
142
143 # Copy extlinux.conf to images that have U-Boot Extlinux support.
144 if [ "${UBOOT_EXTLINUX}" = "1" ]; then
145 mmd -i ${WORKDIR}/boot.img ::/extlinux
146 mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/extlinux.conf ::/extlinux/extlinux.conf
147 fi
142} 148}
143 149
144# 150#