u-boot/drivers/video/tidss/Makefile
Nikhil M Jain 2e72e4ec84 drivers: video: tidss: Makefile: Add condition to compile TIDSS at SPL
To enable TIDSS driver only at SPL stage add rule to compile the TIDSS
video driver.

CONFIG_$(SPL_)VIDEO_TIDSS will compile tidss_drv, at SPL only if
CONFIG_SPL_VIDEO_TIDSS is defined and at u-boot proper if
CONFIG_VIDEO_TIDSS is defined.

Signed-off-by: Nikhil M Jain <n-jain1@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2023-04-24 21:37:45 +02:00

12 lines
364 B
Makefile

# SPDX-License-Identifier: GPL-2.0+
#
# (C) Copyright 2023 Texas Instruments Incorporated - https://www.ti.com/
# Nikhil M Jain, n-jain1@ti.com
#
# based on the linux tidss driver, which is
#
# (C) Copyright 2018 Texas Instruments Incorporated - https://www.ti.com/
# Author: Tomi Valkeinen <tomi.valkeinen@ti.com>
obj-${CONFIG_$(SPL_)VIDEO_TIDSS} = tidss_drv.o