summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorMatt Madison <matt@madison.systems>2019-03-03 05:31:42 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-03-04 14:26:41 +0000
commitad792edf61157f6cd63a2c6aa8e53edc134301d0 (patch)
treebc3aeb8ca07ce0105eafa81fb38cab70f5f93cb7 /meta/classes
parentde2848be1b04cf1ff1e0147114f5214be8225877 (diff)
downloadopenembedded-core-ad792edf61157f6cd63a2c6aa8e53edc134301d0.tar.gz
openembedded-core-ad792edf61157f6cd63a2c6aa8e53edc134301d0.tar.bz2
openembedded-core-ad792edf61157f6cd63a2c6aa8e53edc134301d0.zip
uboot-extlinux-config.bbclass: add missing variable dependencies
do_create_extlinux_config performs its own override processing for several variables, so we have to explicitly add the label- suffixed variable names to its vardeps to make sure that changes get detected. Signed-off-by: Matt Madison <matt@madison.systems> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/uboot-extlinux-config.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/uboot-extlinux-config.bbclass b/meta/classes/uboot-extlinux-config.bbclass
index c65c421b60..b5b1a81dfc 100644
--- a/meta/classes/uboot-extlinux-config.bbclass
+++ b/meta/classes/uboot-extlinux-config.bbclass
@@ -148,5 +148,7 @@ python do_create_extlinux_config() {
except OSError:
bb.fatal('Unable to open %s' % (cfile))
}
+UBOOT_EXTLINUX_VARS = "CONSOLE MENU_DESCRIPTION ROOT KERNEL_IMAGE FDTDIR FDT KERNEL_ARGS INITRD"
+do_create_extlinux_config[vardeps] += "${@' '.join(['UBOOT_EXTLINUX_%s_%s' % (v, l) for v in d.getVar('UBOOT_EXTLINUX_VARS').split() for l in d.getVar('UBOOT_EXTLINUX_LABELS').split()])}"
addtask create_extlinux_config before do_install do_deploy after do_compile