aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/sti/hva/Makefile
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-05-18 11:26:31 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-05-18 11:32:03 +0200
commit56c1f0876293888f686e31278d183d4af2cac3c3 (patch)
tree1aa45f262fe4a8fbfd18ffbb80527bf365501b7d /drivers/media/platform/sti/hva/Makefile
parentmedia: exynos4-is: remove a now unused integer (diff)
downloadlinux-dev-56c1f0876293888f686e31278d183d4af2cac3c3.tar.xz
linux-dev-56c1f0876293888f686e31278d183d4af2cac3c3.zip
media: sti: fix obj-$(config) targets
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>
Diffstat (limited to 'drivers/media/platform/sti/hva/Makefile')
-rw-r--r--drivers/media/platform/sti/hva/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/sti/hva/Makefile b/drivers/media/platform/sti/hva/Makefile
index 74b41ec52f97..b5a5478bdd01 100644
--- a/drivers/media/platform/sti/hva/Makefile
+++ b/drivers/media/platform/sti/hva/Makefile
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: GPL-2.0-only
-obj-$(CONFIG_VIDEO_STI_HVA) := st-hva.o
+obj-$(CONFIG_VIDEO_STI_HVA) += st-hva.o
st-hva-y := hva-v4l2.o hva-hw.o hva-mem.o hva-h264.o
st-hva-$(CONFIG_VIDEO_STI_HVA_DEBUGFS) += hva-debugfs.o