diff options
author | Matt Madison <matt@madison.systems> | 2019-03-03 05:31:42 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-03-04 14:27:06 +0000 |
commit | d967e6d6f287adaa2d993f11f88a5be6da88a082 (patch) | |
tree | 061f8b564adf94d105b22dd8f115d03bc9d18fa7 | |
parent | 8293060f8e0436733d41f34754ae44ecb6c100ae (diff) | |
download | poky-d967e6d6f287adaa2d993f11f88a5be6da88a082.tar.gz |
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.
(From OE-Core rev: ad792edf61157f6cd63a2c6aa8e53edc134301d0)
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/uboot-extlinux-config.bbclass | 2 |
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() { | |||
148 | except OSError: | 148 | except OSError: |
149 | bb.fatal('Unable to open %s' % (cfile)) | 149 | bb.fatal('Unable to open %s' % (cfile)) |
150 | } | 150 | } |
151 | UBOOT_EXTLINUX_VARS = "CONSOLE MENU_DESCRIPTION ROOT KERNEL_IMAGE FDTDIR FDT KERNEL_ARGS INITRD" | ||
152 | 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()])}" | ||
151 | 153 | ||
152 | addtask create_extlinux_config before do_install do_deploy after do_compile | 154 | addtask create_extlinux_config before do_install do_deploy after do_compile |