FIT: fit syntax have changed

With Yocto 3.1.9,
Syntax have changed for fit management,
usage of '-' instead of '@'

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
This commit is contained in:
Christophe Priouzeau 2021-07-21 10:30:28 +02:00
parent 4bf96d789e
commit 816fd629ab
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ def create_extlinux_file(cfile, labels, data):
if fit == '1': if fit == '1':
# Set specific kernel configuration if 'fit' feature is enabled # Set specific kernel configuration if 'fit' feature is enabled
kernel_image = kernel_image + '#conf@' + label + '.dtb' kernel_image = kernel_image + '#conf-' + label + '.dtb'
cfgfile.write('LABEL %s\n\tKERNEL %s\n' % (menu_description, kernel_image)) cfgfile.write('LABEL %s\n\tKERNEL %s\n' % (menu_description, kernel_image))
elif fdt: elif fdt:
cfgfile.write('LABEL %s\n\tKERNEL %s\n\tFDT %s\n' % cfgfile.write('LABEL %s\n\tKERNEL %s\n\tFDT %s\n' %