meta-facebook: fb-consoles: add vardeps
The console variable is, by default, based on a number of variables
such as OBMC_HOST_INSTANCES. These variables need to be in the vardeps
so that the console variable is updated when these variables change.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I6f60f0a4e82c41dddea1408ac8d490ebef826c52
diff --git a/meta-facebook/conf/recipes/fb-consoles.inc b/meta-facebook/conf/recipes/fb-consoles.inc
index 2d837ca..d34d83c 100644
--- a/meta-facebook/conf/recipes/fb-consoles.inc
+++ b/meta-facebook/conf/recipes/fb-consoles.inc
@@ -17,8 +17,8 @@
[ f"ttyS{i}" for i in sorted(set(range(0,16)).difference(skipped)) ]
return " ".join(consoles[:hosts])
+fb_get_consoles[vardeps] += "OBMC_HOST_INSTANCES OBMC_CONSOLE_HOST_TTY OBMC_CONSOLE_TTY_SKIP"
OBMC_CONSOLE_TTYS = "${@fb_get_consoles(d)}"
OBMC_CONSOLE_TTYS:fb-nohost = ""
-
-
+OBMC_CONSOLE_TTYS[vardeps] += "fb_get_consoles"