CLASSES: fix MENU BACKGROUND image path for extlinux.conf file

Change-Id: I5c029fcda1ebddd7fe18972902f308de7568ce9f
Signed-off-by: Romuald JEANNE <romuald.jeanne@st.com>
This commit is contained in:
Romuald JEANNE 2019-09-17 10:44:38 +02:00 committed by Christophe Priouzeau
parent 8b4fbbadbc
commit b3b820cb47
1 changed files with 3 additions and 3 deletions

View File

@ -177,11 +177,11 @@ python do_create_multiextlinux_config() {
if len(labels.split()) > 1:
cfgfile.write('menu title Select the boot mode\n')
spashscreen_name = localdata.getVar('UBOOT_SPLASH_IMAGE')
if not spashscreen_name:
splashscreen_name = localdata.getVar('UBOOT_SPLASH_IMAGE')
if not splashscreen_name:
bb.warn('UBOOT_SPLASH_IMAGE not defined')
else:
cfgfile.write('MENU BACKGROUND ../%s.bmp\n' % (spashscreen_name))
cfgfile.write('MENU BACKGROUND /%s.bmp\n' % (splashscreen_name))
timeout = localdata.getVar('UBOOT_EXTLINUX_TIMEOUT')
if timeout: