meta-aspeed: linux: enable ubi support based on file system type
Both the `obmc-static-norootfs` and `obmc-ubi-fs` DISTRO_FEATURES
enable an image that utilizes ubifs. Key off this in meta-aspeed
to apply the correct kernel config snippet.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I15b0e24e9d0e454651a50b2d997b6aee01432ab9
diff --git a/meta-aspeed/recipes-kernel/linux/linux-aspeed/ubi/ubi.scc b/meta-aspeed/recipes-kernel/linux/linux-aspeed/ubi/ubi.scc
new file mode 100644
index 0000000..f725f63
--- /dev/null
+++ b/meta-aspeed/recipes-kernel/linux/linux-aspeed/ubi/ubi.scc
@@ -0,0 +1,3 @@
+define KFEATURE_DESCRIPTION "Enable UBIFS"
+
+kconf hardware ubi.cfg