Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 98A88E00BC0; Wed, 25 Jan 2017 03:47:24 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mail.analogue-micro.com (mail.analogue-micro.com [217.144.149.242]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 25103E00BB1 for ; Wed, 25 Jan 2017 03:47:14 -0800 (PST) Received: by mail.analogue-micro.com (Postfix, from userid 999) id 7CEE268A019; Wed, 25 Jan 2017 11:47:13 +0000 (GMT) Received: from zeus.mlbassoc.com (unknown [10.8.0.2]) by mail.analogue-micro.com (Postfix) with ESMTP id A221668A019; Wed, 25 Jan 2017 11:47:12 +0000 (GMT) Received: by zeus.mlbassoc.com (Postfix, from userid 1000) id 5452B6740528; Wed, 25 Jan 2017 12:47:12 +0100 (CET) From: Gary Thomas To: meta-freescale@yoctoproject.org Date: Wed, 25 Jan 2017 12:47:10 +0100 Message-Id: <1485344830-9399-1-git-send-email-gary@mlbassoc.com> X-Mailer: git-send-email 2.7.4 Cc: Gary Thomas Subject: [PATCH] xserver-common: Move to dynamic layers X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jan 2017 11:47:24 -0000 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 --- .../0016-xserver-common-enable-iglx-module.patch | 30 ++++++++++++++++++++++ .../xserver-common/xserver-common_%.bbappend | 10 ++++++++ .../0016-xserver-common-enable-iglx-module.patch | 30 ---------------------- .../xserver-common/xserver-common_%.bbappend | 10 -------- 4 files changed, 40 insertions(+), 40 deletions(-) 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 delete mode 100644 recipes-graphics/xserver-common/xserver-common/imx/0016-xserver-common-enable-iglx-module.patch delete mode 100644 recipes-graphics/xserver-common/xserver-common_%.bbappend 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 0000000..283a081 --- /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 0000000..28d1f7b --- /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}" diff --git a/recipes-graphics/xserver-common/xserver-common/imx/0016-xserver-common-enable-iglx-module.patch b/recipes-graphics/xserver-common/xserver-common/imx/0016-xserver-common-enable-iglx-module.patch deleted file mode 100644 index 283a081..0000000 --- a/recipes-graphics/xserver-common/xserver-common/imx/0016-xserver-common-enable-iglx-module.patch +++ /dev/null @@ -1,30 +0,0 @@ -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/recipes-graphics/xserver-common/xserver-common_%.bbappend b/recipes-graphics/xserver-common/xserver-common_%.bbappend deleted file mode 100644 index 28d1f7b..0000000 --- a/recipes-graphics/xserver-common/xserver-common_%.bbappend +++ /dev/null @@ -1,10 +0,0 @@ -# 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}" -- 2.7.4