]> git.baikalelectronics.ru Git - kernel.git/commit
leds: Only descend into leds directory when CONFIG_NEW_LEDS is set
authorAndrew F. Davis <afd@ti.com>
Tue, 21 Jun 2016 12:35:07 +0000 (14:35 +0200)
committerJacek Anaszewski <j.anaszewski@samsung.com>
Mon, 27 Jun 2016 06:58:43 +0000 (08:58 +0200)
commit79483b218587cc06509e59faacc9dffe66078fe9
tree532e2ac57d2a94116785d1da1270b689e947147a
parentb2bc1df74c0165172a88b4b00a67edd0a0d00c43
leds: Only descend into leds directory when CONFIG_NEW_LEDS is set

When CONFIG_NEW_LEDS is not set make will still descend into the leds
directory but nothing will be built. This produces unneeded build
artifacts and messages in addition to slowing the build. Fix this here.

Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
drivers/Makefile