summaryrefslogtreecommitdiff
path: root/drivers/media/platform/s5p-jpeg/Makefile
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2013-06-20 05:46:00 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-06-20 05:46:00 -0300
commit5f63adbb4cb9f952a8daee97f89c8811da5fd68a (patch)
treeaa92ee17ca2ea53c0208ff8271b2db936b1c4c43 /drivers/media/platform/s5p-jpeg/Makefile
parent722a860ecb29aa34ec6f7d7f32b949209e86a2f3 (diff)
downloadlinux-3.10-5f63adbb4cb9f952a8daee97f89c8811da5fd68a.tar.gz
linux-3.10-5f63adbb4cb9f952a8daee97f89c8811da5fd68a.tar.bz2
linux-3.10-5f63adbb4cb9f952a8daee97f89c8811da5fd68a.zip
[media] s5p makefiles: don't override other selections on obj-[ym]
The $obj-m/$obj-y vars should be adding new modules to build, not overriding it. So, it should never use $obj-y := foo.o instead, it should use: $obj-y += foo.o Failing to do that is very bad, as it will suppress needed modules. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/platform/s5p-jpeg/Makefile')
-rw-r--r--drivers/media/platform/s5p-jpeg/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/s5p-jpeg/Makefile b/drivers/media/platform/s5p-jpeg/Makefile
index ddc2900d88a..d18cb5edd2d 100644
--- a/drivers/media/platform/s5p-jpeg/Makefile
+++ b/drivers/media/platform/s5p-jpeg/Makefile
@@ -1,2 +1,2 @@
s5p-jpeg-objs := jpeg-core.o
-obj-$(CONFIG_VIDEO_SAMSUNG_S5P_JPEG) := s5p-jpeg.o
+obj-$(CONFIG_VIDEO_SAMSUNG_S5P_JPEG) += s5p-jpeg.o