All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nikhil M Jain <n-jain1@ti.com>
To: <u-boot@lists.denx.de>, <agust@denx.de>
Cc: <n-jain1@ti.com>, <devarsht@ti.com>, <trini@konsulko.com>,
	<vigneshr@ti.com>, <nsekhar@ti.com>, <sjg@chromium.org>
Subject: [PATCH 5/9] drivers: video: tidss: Makefile: Add condition to compile TIDSS at SPL
Date: Tue, 14 Mar 2023 10:20:15 +0530	[thread overview]
Message-ID: <20230314045019.5671-6-n-jain1@ti.com> (raw)
In-Reply-To: <20230314045019.5671-1-n-jain1@ti.com>

To enable TIDSS driver only at SPL stage add rule to compile the TIDSS
video driver, for SPL stage only if CONFIG_SPL_VIDEO_TIDSS is defined.

Signed-off-by: Nikhil M Jain <n-jain1@ti.com>
---
 drivers/video/Makefile       | 1 +
 drivers/video/tidss/Makefile | 1 +
 2 files changed, 2 insertions(+)

diff --git a/drivers/video/Makefile b/drivers/video/Makefile
index 4e2d34e675..c92d151bac 100644
--- a/drivers/video/Makefile
+++ b/drivers/video/Makefile
@@ -72,4 +72,5 @@ obj-y += sunxi/
 ifdef CONFIG_SPL_BUILD
 obj-$(CONFIG_$(SPL_)VIDEO) += video-uclass.o vidconsole-uclass.o
 obj-$(CONFIG_$(SPL_)VIDEO) += video_bmp.o
+obj-${CONFIG_$(SPL_)VIDEO_TIDSS} += tidss/
 endif
diff --git a/drivers/video/tidss/Makefile b/drivers/video/tidss/Makefile
index f4f8c6c470..acfd5d0d09 100644
--- a/drivers/video/tidss/Makefile
+++ b/drivers/video/tidss/Makefile
@@ -10,3 +10,4 @@
 
 
 obj-${CONFIG_VIDEO_TIDSS} = tidss_drv.o
+obj-${CONFIG_$(SPL_)VIDEO_TIDSS} = tidss_drv.o
-- 
2.34.1


  parent reply	other threads:[~2023-03-14  4:51 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-14  4:50 [PATCH 0/9] Enable splash screen Nikhil M Jain
2023-03-14  4:50 ` [PATCH 1/9] drivers: video: Kconfig: Necessary configs for video at SPL Nikhil M Jain
2023-03-14  6:50   ` Devarsh Thakkar
2023-03-27  8:23   ` Simon Glass
2023-03-14  4:50 ` [PATCH 2/9] drivers: video: tidss: Kconfig: Configs to enable TIDSS " Nikhil M Jain
2023-03-27  8:23   ` Simon Glass
2023-03-14  4:50 ` [PATCH 3/9] cmd: Kconfig: Add necessary configs for splash screen " Nikhil M Jain
2023-03-27  8:23   ` Simon Glass
2023-03-14  4:50 ` [PATCH 4/9] drivers: video: Makefile: Compile video driver files " Nikhil M Jain
2023-03-27  8:23   ` Simon Glass
2023-03-14  4:50 ` Nikhil M Jain [this message]
2023-03-27  8:23   ` [PATCH 5/9] drivers: video: tidss: Makefile: Add condition to compile TIDSS " Simon Glass
2023-03-14  4:50 ` [PATCH 6/9] cmd: Makefile: Add rules to build bmp.c and read.c " Nikhil M Jain
2023-03-27  8:24   ` Simon Glass
2023-03-14  4:50 ` [PATCH 7/9] common: splash: Enable splash_display at SPL stage Nikhil M Jain
2023-03-27  8:24   ` Simon Glass
2023-03-14  4:50 ` [PATCH 8/9] drivers: video: video-uclass: Disable u-boot logo at SPL Nikhil M Jain
2023-03-27  8:24   ` Simon Glass
2023-03-14  4:50 ` [PATCH 9/9] board: ti: am62x: evm: OSPI support for splash screen Nikhil M Jain
2023-03-27  8:24   ` Simon Glass
2023-03-14  5:54 ` [PATCH 0/9] Enable " Devarsh Thakkar
  -- strict thread matches above, loose matches on Subject: below --
2023-03-13 10:14 Nikhil M Jain
2023-03-13 10:14 ` [PATCH 5/9] drivers: video: tidss: Makefile: Add condition to compile TIDSS at SPL Nikhil M Jain
2023-03-13 10:51   ` Peter Robinson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230314045019.5671-6-n-jain1@ti.com \
    --to=n-jain1@ti.com \
    --cc=agust@denx.de \
    --cc=devarsht@ti.com \
    --cc=nsekhar@ti.com \
    --cc=sjg@chromium.org \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=vigneshr@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.