[oe-commits] [openembedded-core] 03/05: uboot-extlinux-config.bbclass: add missing variable dependencies

git at git.openembedded.org git at git.openembedded.org
Mon Mar 4 14:27:31 UTC 2019


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master
in repository openembedded-core.

commit ad792edf61157f6cd63a2c6aa8e53edc134301d0
Author: Matt Madison <matt at madison.systems>
AuthorDate: Sun Mar 3 05:31:42 2019 -0800

    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 at madison.systems>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/classes/uboot-extlinux-config.bbclass | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/classes/uboot-extlinux-config.bbclass b/meta/classes/uboot-extlinux-config.bbclass
index c65c421..b5b1a81 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

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list