linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/6] Remove unneeded build directory traversals
@ 2017-01-05 21:01 Andrew F. Davis
  2017-01-05 21:01 ` [PATCH v2 1/6] pwm: Only descend into pwm directory when CONFIG_PWM is set Andrew F. Davis
                   ` (5 more replies)
  0 siblings, 6 replies; 10+ messages in thread
From: Andrew F. Davis @ 2017-01-05 21:01 UTC (permalink / raw)
  To: Russell King, Miguel Ojeda Sandonis, Wolfram Sang, Richard Purdie,
	Benjamin Herrenschmidt, Mauro Carvalho Chehab, Ulf Hansson,
	Lauro Ramos Venancio, Aloisio Almeida Jr, Samuel Ortiz,
	Ingo Molnar
  Cc: linuxppc-dev, linux-media, linux-wireless, linux-pwm,
	linux-kernel, Andrew F . Davis

Hello all,

I was building a kernel for x86 and noticed Make still descended into
directories like drivers/gpu/drm/hisilicon, this seems kind of odd given
nothing will be built here. It looks to be due to some directories being
included in obj-y unconditionally instead of only when the relevant
CONFIG_ is set.

These patches are split by subsystem in-case, for some reason, a file in
a directory does need to be built, I believe I have checked for all
instances of this, but a quick review from some maintainers would be nice.

Thanks,
Andrew

Changes from v1:
 - Removed patches already taken by maintainers
 - Rebased on v4.10-rc1 (no changes needed)

Andrew F. Davis (6):
  pwm: Only descend into pwm directory when CONFIG_PWM is set
  amba: Only descend into amba directory when CONFIG_ARM_AMBA is set
  NFC: Only descend into nfc directory when CONFIG_NFC is set
  macintosh: Only descend into directory when CONFIG_MACINTOSH_DRIVERS
    is set
  auxdisplay: Only descend into directory when CONFIG_AUXDISPLAY is set
  [media] Only descend into directory when CONFIG_MEDIA_SUPPORT is set

 drivers/Makefile | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

-- 
2.11.0

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2017-01-05 23:13 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-05 21:01 [PATCH v2 0/6] Remove unneeded build directory traversals Andrew F. Davis
2017-01-05 21:01 ` [PATCH v2 1/6] pwm: Only descend into pwm directory when CONFIG_PWM is set Andrew F. Davis
2017-01-05 21:01 ` [PATCH v2 2/6] amba: Only descend into amba directory when CONFIG_ARM_AMBA " Andrew F. Davis
2017-01-05 21:01 ` [PATCH v2 3/6] NFC: Only descend into nfc directory when CONFIG_NFC " Andrew F. Davis
2017-01-05 21:01 ` [PATCH v2 4/6] macintosh: Only descend into directory when CONFIG_MACINTOSH_DRIVERS " Andrew F. Davis
2017-01-05 21:01 ` [PATCH v2 5/6] auxdisplay: Only descend into directory when CONFIG_AUXDISPLAY " Andrew F. Davis
2017-01-05 21:01 ` [PATCH v2 6/6] [media] Only descend into directory when CONFIG_MEDIA_SUPPORT " Andrew F. Davis
2017-01-05 21:42   ` Arnd Bergmann
2017-01-05 22:35     ` Andrew F. Davis
2017-01-05 23:12       ` Arnd Bergmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).