Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2A640C74A5B for ; Wed, 29 Mar 2023 10:31:53 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id CD4F885DF4; Wed, 29 Mar 2023 12:31:37 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=ti.com header.i=@ti.com header.b="LiLbJGrW"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id DCBBE85DD6; Wed, 29 Mar 2023 12:30:54 +0200 (CEST) Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 3A04F85E00 for ; Wed, 29 Mar 2023 12:30:33 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=n-jain1@ti.com Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 32TAUSnf098240; Wed, 29 Mar 2023 05:30:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1680085828; bh=vNtZshhAovj70TJXOTcySOByjxql54H/UA5tCIGmTJs=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=LiLbJGrW7se4DeV2I9/lrQsYw9MVtVis7OGvZxefvzLJ9JXbuybto0757XtpRp2Vl zb9Nq7KyJqtC8cH6XcaFLqa1tX/OBLKrWkQiNYox/R5QCPlxei6XGEWJVf0/GnIyRe QjjnuZZqRwt3eH77Yoikpnl6bL8XsdTfDX4MG/jU= Received: from DLEE113.ent.ti.com (dlee113.ent.ti.com [157.170.170.24]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 32TAUSIL090460 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 29 Mar 2023 05:30:28 -0500 Received: from DLEE107.ent.ti.com (157.170.170.37) by DLEE113.ent.ti.com (157.170.170.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Wed, 29 Mar 2023 05:30:28 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16 via Frontend Transport; Wed, 29 Mar 2023 05:30:28 -0500 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 32TAURrt018515; Wed, 29 Mar 2023 05:30:28 -0500 From: Nikhil M Jain To: , , CC: , , , Subject: [PATCH v3 04/15] drivers: video: Makefile: Rule to compile necessary video driver files. Date: Wed, 29 Mar 2023 16:00:05 +0530 Message-ID: <20230329103016.69430-5-n-jain1@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230329103016.69430-1-n-jain1@ti.com> References: <20230329103016.69430-1-n-jain1@ti.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean To enable video driver at SPL, need to compile video-uclass, vidconsole-uclass, backlight-uclass, panel-uclass, simple-panel, add rules to compile them at SPL only. To support splash_display at SPL, need to compile video-bmp, add rule to compile at SPL stage only. Signed-off-by: Nikhil M Jain --- drivers/video/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/drivers/video/Makefile b/drivers/video/Makefile index cdb7d9a54d..2374b240c2 100644 --- a/drivers/video/Makefile +++ b/drivers/video/Makefile @@ -68,3 +68,12 @@ obj-$(CONFIG_VIDEO_ZYNQMP_DPSUB) += zynqmp_dpsub.o obj-y += bridge/ obj-y += sunxi/ + +ifdef CONFIG_SPL_BUILD +obj-$(CONFIG_SPL_BACKLIGHT) += backlight-uclass.o +obj-$(CONFIG_SPL_PANEL) += panel-uclass.o +obj-$(CONFIG_SPL_SIMPLE_PANEL) += simple_panel.o +obj-$(CONFIG_SPL_CONSOLE_NORMAL) += console_normal.o +obj-$(CONFIG_SPL_VIDEO) += video-uclass.o vidconsole-uclass.o +obj-$(CONFIG_SPL_VIDEO) += video_bmp.o +endif -- 2.34.1