[meta-freescale] [distro][PATCH 2/2] distro/fsl: Add initial distro settings
Fabio Berton
fabio.berton at ossystems.com.br
Fri Oct 28 13:24:50 PDT 2016
Freescale Distro support four flavors:
- fsl-framebuffer: Distro for Framebuffer graphical backend. This
distro doesn't include x11 and wayland features.
- fsl-wayland: Distro for Wayland without X11. This distro include
wayland feature but doesn't has x11 support.
- fsl-x11: Distro for X11 without wayland. This distro include x11
feature and doesn' has wayland support.
- fsl-xwayland: Distro for Wayland with X11. This distro include
both wayland and x11 features.
Signed-off-by: Fabio Berton <fabio.berton at ossystems.com.br>
---
conf/distro/fsl-framebuffer.conf | 9 ++++++++
conf/distro/fsl-wayland.conf | 10 +++++++++
conf/distro/fsl-x11.conf | 12 +++++++++++
conf/distro/fsl-xwayland.conf | 10 +++++++++
conf/distro/include/fsl-base.inc | 45 ++++++++++++++++++++++++++++++++++++++++
5 files changed, 86 insertions(+)
create mode 100644 conf/distro/fsl-framebuffer.conf
create mode 100644 conf/distro/fsl-wayland.conf
create mode 100644 conf/distro/fsl-x11.conf
create mode 100644 conf/distro/fsl-xwayland.conf
create mode 100644 conf/distro/include/fsl-base.inc
diff --git a/conf/distro/fsl-framebuffer.conf b/conf/distro/fsl-framebuffer.conf
new file mode 100644
index 0000000..cb5feae
--- /dev/null
+++ b/conf/distro/fsl-framebuffer.conf
@@ -0,0 +1,9 @@
+# FSL Distro for FrameBuffer graphical backend.
+
+require conf/distro/include/fsl-base.inc
+
+DISTRO = "fsl-framebuffer"
+DISTRO_NAME = "FSL FrameBuffer"
+
+# Remove conflicting backends.
+DISTRO_FEATURES_remove = "x11 wayland directfb "
diff --git a/conf/distro/fsl-wayland.conf b/conf/distro/fsl-wayland.conf
new file mode 100644
index 0000000..cefaa82
--- /dev/null
+++ b/conf/distro/fsl-wayland.conf
@@ -0,0 +1,10 @@
+# FSL Distro for Wayland without X11.
+
+require conf/distro/include/fsl-base.inc
+
+DISTRO = "fsl-wayland"
+DISTRO_NAME = "FSL Wayland"
+
+# Remove conflicting backends
+DISTRO_FEATURES_remove = "directfb x11 "
+DISTRO_FEATURES_append = " wayland"
diff --git a/conf/distro/fsl-x11.conf b/conf/distro/fsl-x11.conf
new file mode 100644
index 0000000..7f66548
--- /dev/null
+++ b/conf/distro/fsl-x11.conf
@@ -0,0 +1,12 @@
+# FSL Distro for X11 without wayland.
+
+require conf/distro/include/fsl-base.inc
+
+DISTRO = "fsl-x11"
+DISTRO_NAME = "FSL X11"
+
+# Remove conflicting backends.
+DISTRO_FEATURES_remove = "wayland "
+
+# These are X11 specific
+DISTRO_FEATURES_append = " x11"
diff --git a/conf/distro/fsl-xwayland.conf b/conf/distro/fsl-xwayland.conf
new file mode 100644
index 0000000..d940d36
--- /dev/null
+++ b/conf/distro/fsl-xwayland.conf
@@ -0,0 +1,10 @@
+# FSL Distro for Wayland with X11.
+
+require conf/distro/include/fsl-base.inc
+
+DISTRO = "fsl-xwayland"
+DISTRO_NAME = "FSL Wayland X11"
+
+# Remove conflicting backends
+DISTRO_FEATURES_remove = "directfb "
+DISTRO_FEATURES_append = " x11 wayland"
diff --git a/conf/distro/include/fsl-base.inc b/conf/distro/include/fsl-base.inc
new file mode 100644
index 0000000..55e7982
--- /dev/null
+++ b/conf/distro/include/fsl-base.inc
@@ -0,0 +1,45 @@
+require conf/distro/include/fslc-base.inc
+
+DISTRO = "fsl-base"
+DISTRO_NAME = "FSL Distro Base"
+SDK_VENDOR = "-fslsdk"
+
+MAINTAINER = "Freescale Semiconductors <lauren.post at nxp.com>"
+
+TARGET_VENDOR = "-fsl"
+
+DISTROOVERRIDES = "fsl"
+
+# The following set the providers to components supported by NXP
+# Use i.MX Kernel, U-Boot and Gstreamer 1.0 providers
+PREFERRED_PROVIDER_u-boot_mx6dl = "u-boot-imx"
+PREFERRED_PROVIDER_u-boot_mx6q = "u-boot-imx"
+PREFERRED_PROVIDER_u-boot_mx6sl = "u-boot-imx"
+PREFERRED_PROVIDER_u-boot_mx6sx = "u-boot-imx"
+PREFERRED_PROVIDER_u-boot_mx6ul = "u-boot-imx"
+PREFERRED_PROVIDER_u-boot_mx6ull = "u-boot-imx"
+PREFERRED_PROVIDER_u-boot_mx7d = "u-boot-imx"
+
+PREFERRED_PROVIDER_virtual/bootloader_mx6dl = "u-boot-imx"
+PREFERRED_PROVIDER_virtual/bootloader_mx6q = "u-boot-imx"
+PREFERRED_PROVIDER_virtual/bootloader_mx6sl = "u-boot-imx"
+PREFERRED_PROVIDER_virtual/bootloader_mx6sx = "u-boot-imx"
+PREFERRED_PROVIDER_virtual/bootloader_mx6ul = "u-boot-imx"
+PREFERRED_PROVIDER_virtual/bootloader_mx6ull = "u-boot-imx"
+PREFERRED_PROVIDER_virtual/bootloader_mx7d = "u-boot-imx"
+
+PREFERRED_PROVIDER_virtual/kernel_mx6dl = "linux-imx"
+PREFERRED_PROVIDER_virtual/kernel_mx6q = "linux-imx"
+PREFERRED_PROVIDER_virtual/kernel_mx6sl = "linux-imx"
+PREFERRED_PROVIDER_virtual/kernel_mx6sx = "linux-imx"
+PREFERRED_PROVIDER_virtual/kernel_mx6ul = "linux-imx"
+PREFERRED_PROVIDER_virtual/kernel_mx6ull = "linux-imx"
+PREFERRED_PROVIDER_virtual/kernel_mx7d = "linux-imx"
+
+MACHINE_GSTREAMER_1_0_PLUGIN_mx6dl = "imx-gst1.0-plugin"
+MACHINE_GSTREAMER_1_0_PLUGIN_mx6q = "imx-gst1.0-plugin"
+MACHINE_GSTREAMER_1_0_PLUGIN_mx6sl = "imx-gst1.0-plugin"
+MACHINE_GSTREAMER_1_0_PLUGIN_mx6sx = "imx-gst1.0-plugin"
+MACHINE_GSTREAMER_1_0_PLUGIN_mx6ul = "imx-gst1.0-plugin"
+MACHINE_GSTREAMER_1_0_PLUGIN_mx6ull = "imx-gst1.0-plugin"
+MACHINE_GSTREAMER_1_0_PLUGIN_mx7d = "imx-gst1.0-plugin"
--
2.1.4
More information about the meta-freescale
mailing list