All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH][3rdparty] wandboard: use-mainline-bsp default kernel choice
@ 2017-05-26 19:18 Trevor Woerner
  0 siblings, 0 replies; only message in thread
From: Trevor Woerner @ 2017-05-26 19:18 UTC (permalink / raw)
  To: meta-freescale

Allow the "use-mainline-bsp" MACHINEOVERRIDES to toggle between the
linux-wandboard and linux-fslc kernels for the wandboard's suggested
kernel choice.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
---
 conf/machine/wandboard.conf | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/conf/machine/wandboard.conf b/conf/machine/wandboard.conf
index ad8ebb7..506173f 100644
--- a/conf/machine/wandboard.conf
+++ b/conf/machine/wandboard.conf
@@ -17,13 +17,21 @@ UBOOT_MACHINE = "wandboard_config"
 UBOOT_EXTLINUX = "1"
 UBOOT_EXTLINUX_ROOT = "root=PARTUUID=${uuid}"
 
-PREFERRED_PROVIDER_virtual/kernel ?= "linux-wandboard"
+WANDBOARD_DEFAULT_KERNEL = "linux-wandboard"
+WANDBOARD_DEFAULT_KERNEL_use-mainline-bsp = "linux-fslc"
+PREFERRED_PROVIDER_virtual/kernel ?= "${WANDBOARD_DEFAULT_KERNEL}"
 KERNEL_DEVICETREE = " \
     imx6dl-wandboard-revb1.dtb \
     imx6dl-wandboard-revc1.dtb \
     imx6q-wandboard-revb1.dtb \
     imx6q-wandboard-revc1.dtb \
 "
+KERNEL_DEVICETREE_use-mainline-bsp = " \
+    imx6dl-wandboard.dtb \
+    imx6dl-wandboard-revb1.dtb \
+    imx6q-wandboard.dtb \
+    imx6q-wandboard-revb1.dtb \
+"
 
 KERNEL_IMAGETYPE = "zImage"
 
-- 
2.13.0



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

only message in thread, other threads:[~2017-05-26 19:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-26 19:18 [PATCH][3rdparty] wandboard: use-mainline-bsp default kernel choice Trevor Woerner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.