mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-02-27 06:32:37 +01:00
rockchip: video: Makefile: Modify Makefile for rockchip video driver
Modify Makefile for rockchip video driver according to Kconfig, so that source code will not be compiled if not needed. Signed-off-by: Eric Gao <eric.gao@rock-chips.com> Acked-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
b98f0a3d97
commit
da10dd1a72
1 changed files with 6 additions and 1 deletions
|
|
@ -5,4 +5,9 @@
|
|||
# SPDX-License-Identifier: GPL-2.0+
|
||||
#
|
||||
|
||||
obj-y += rk_edp.o rk_hdmi.o rk_vop.o rk_lvds.o ../dw_hdmi.o
|
||||
ifdef CONFIG_VIDEO_ROCKCHIP
|
||||
obj-y += rk_vop.o
|
||||
obj-$(CONFIG_DISPLAY_ROCKCHIP_EDP) += rk_edp.o
|
||||
obj-$(CONFIG_DISPLAY_ROCKCHIP_LVDS) += rk_lvds.o
|
||||
obj-$(CONFIG_DISPLAY_ROCKCHIP_HDMI) += rk_hdmi.o ../dw_hdmi.o
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue