Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] uboot-extlinux-config.bbclass: add missing variable dependencies
@ 2019-03-03 13:31 Matt Madison
  0 siblings, 0 replies; only message in thread
From: Matt Madison @ 2019-03-03 13:31 UTC (permalink / raw)
  To: openembedded-core

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>
---
 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 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
-- 
2.19.1



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-03-03 13:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-03 13:31 [PATCH] uboot-extlinux-config.bbclass: add missing variable dependencies Matt Madison

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox