mirror of
https://github.com/torvalds/linux.git
synced 2026-04-22 16:53:59 -04:00
The right thing to do is to add a new object to the building system when a certain config option is selected, and *not* override them. So, fix obj-$(config) logic at sti makefiles, using "+=", instead of ":=". Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
8 lines
297 B
Makefile
8 lines
297 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
obj-$(CONFIG_VIDEO_STI_DELTA_DRIVER) += st-delta.o
|
|
st-delta-y := delta-v4l2.o delta-mem.o delta-ipc.o delta-debug.o
|
|
|
|
# MJPEG support
|
|
st-delta-$(CONFIG_VIDEO_STI_DELTA_MJPEG) += delta-mjpeg-hdr.o
|
|
st-delta-$(CONFIG_VIDEO_STI_DELTA_MJPEG) += delta-mjpeg-dec.o
|