From b9d459af62de7767bcff889c21f70450e563adf9 Mon Sep 17 00:00:00 2001 From: Prabindh Sundareson Date: Wed, 12 Jun 2013 22:52:35 +0530 Subject: [PATCH] omap3-sgx-modules: Remove X11 related build and packaging SGX530 driver for X11 is only buildable and testable standalone with the pre-built X11 package provided with the Graphics SDK. This patch removes X11 build from the default kernel module recipe, to enable moving X11 build to a separate recipe. This is part of a clean up of the Graphics recipe starting from 4.09.00.01 version of the Graphics SDK. Signed-off-by: Prabindh Sundareson Signed-off-by: Denys Dmytriyenko --- .../powervr-drivers/omap3-sgx-modules_4.09.00.01.bb | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/recipes-bsp/powervr-drivers/omap3-sgx-modules_4.09.00.01.bb b/recipes-bsp/powervr-drivers/omap3-sgx-modules_4.09.00.01.bb index 55e427f6..923e6a55 100644 --- a/recipes-bsp/powervr-drivers/omap3-sgx-modules_4.09.00.01.bb +++ b/recipes-bsp/powervr-drivers/omap3-sgx-modules_4.09.00.01.bb @@ -39,9 +39,7 @@ MODULESLOCATION_ti814x = "dc_ti81xx_linux" MODULESLOCATION_ti816x = "dc_ti81xx_linux" MODULESLOCATION_ti33x = "dc_ti335x_linux" -export SUPPORT_XORG ?= "${@base_contains('DISTRO_FEATURES', 'x11', '1', '0', d)}" - -MAKE_TARGETS = " BUILD=${PVRBUILD} TI_PLATFORM=${TI_PLATFORM} SUPPORT_XORG=${SUPPORT_XORG}" +MAKE_TARGETS = " BUILD=${PVRBUILD} TI_PLATFORM=${TI_PLATFORM} SUPPORT_XORG=0" do_install() { mkdir -p ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr @@ -49,8 +47,5 @@ do_install() { ${S}/services4/3rdparty/${MODULESLOCATION}/omaplfb.ko \ ${S}/services4/3rdparty/bufferclass_ti/bufferclass_ti.ko \ ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr - - if [ "${SUPPORT_XORG}" = "1" ]; then - cp ${S}/services4/3rdparty/linux_drm/drm.ko ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr - fi } +