]> 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)
commitd11b4277478b405feb5f0ae471c193fcfb4eac6c
treeaa92ee17ca2ea53c0208ff8271b2db936b1c4c43
parent8a740ea57e5dc0b091d687480e9ffd4c9a811e43
[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