From 44f552cd47c603c3cf97be68fa47e0b9b4e02eb5 Mon Sep 17 00:00:00 2001 From: Gary Thomas Date: Wed, 25 Jan 2017 12:47:10 +0100 Subject: xserver-common: Move to dynamic layers The xserver-common recipe can only be built if the openbedded (meta-oe) layer is present, so move it to the dynamic layers to prevent breakage if that layer is not in the build. Signed-off-by: Gary Thomas Signed-off-by: Otavio Salvador --- .../0016-xserver-common-enable-iglx-module.patch | 30 ++++++++++++++++++++++ .../xserver-common/xserver-common_%.bbappend | 10 ++++++++ 2 files changed, 40 insertions(+) create mode 100644 dynamic-layers/openembedded-layer/recipes-graphics/xserver-common/xserver-common/imx/0016-xserver-common-enable-iglx-module.patch create mode 100644 dynamic-layers/openembedded-layer/recipes-graphics/xserver-common/xserver-common_%.bbappend (limited to 'dynamic-layers/openembedded-layer') diff --git a/dynamic-layers/openembedded-layer/recipes-graphics/xserver-common/xserver-common/imx/0016-xserver-common-enable-iglx-module.patch b/dynamic-layers/openembedded-layer/recipes-graphics/xserver-common/xserver-common/imx/0016-xserver-common-enable-iglx-module.patch new file mode 100644 index 00000000..283a081b --- /dev/null +++ b/dynamic-layers/openembedded-layer/recipes-graphics/xserver-common/xserver-common/imx/0016-xserver-common-enable-iglx-module.patch @@ -0,0 +1,30 @@ +From 8ad045e5e664fe2d1bd9f88616d5bf83437aab4e Mon Sep 17 00:00:00 2001 +From: Yang Dong +Date: Wed, 9 Sep 2015 13:08:57 +0800 +Subject: [PATCH] xserver-common: enable iglx module + +Enable iglx module to pass indirect glx rendering test case. + +Upstream-Status: Inappropriate [imx specific] + +Date: Sep 9, 2015 +Signed-off-by Yang Dong +--- + X11/xserver-common | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/X11/xserver-common b/X11/xserver-common +index 4dc48c4..d19b858 100644 +--- a/X11/xserver-common ++++ b/X11/xserver-common +@@ -44,6 +44,7 @@ SCREEN_SIZE=`fallback_screen_arg` + export USER=root + export XSERVER_DEFAULT_ORIENTATION=normal + ++INPUT_EXTRA_ARGS="+iglx" + ARGS="-br -pn -nolisten tcp $INPUT_EXTRA_ARGS" + DPI="100" + MOUSE="" +-- +1.9.1 + diff --git a/dynamic-layers/openembedded-layer/recipes-graphics/xserver-common/xserver-common_%.bbappend b/dynamic-layers/openembedded-layer/recipes-graphics/xserver-common/xserver-common_%.bbappend new file mode 100644 index 00000000..28d1f7bd --- /dev/null +++ b/dynamic-layers/openembedded-layer/recipes-graphics/xserver-common/xserver-common_%.bbappend @@ -0,0 +1,10 @@ +# i.MX extra configuration +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +PATCHES_IMX_SPECIFIC = " file://0016-xserver-common-enable-iglx-module.patch \ +" +SRC_URI_append = " \ + ${PATCHES_IMX_SPECIFIC} \ +" +PACKAGE_ARCH_mx6 = "${MACHINE_SOCARCH}" +PACKAGE_ARCH_mx7 = "${MACHINE_SOCARCH}" -- cgit v1.2.3-54-g00ecf