]> git.baikalelectronics.ru Git - kernel.git/commit
[media] s5p makefiles: don't override other selections on obj-[ym]
authorMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 20 Jun 2013 08:46:00 +0000 (05:46 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 20 Jun 2013 08:46:00 +0000 (05:46 -0300)
commit02809b5ebf734efe95b7e8aa8ccdc5ffa8850c08
treeaa92ee17ca2ea53c0208ff8271b2db936b1c4c43
parentcfb4a6258feb19d0e0e58a3457620a175849a429
[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>
drivers/media/platform/s5p-jpeg/Makefile
drivers/media/platform/s5p-mfc/Makefile