Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1601741
| From | "Andrew F. Davis" <afd@ti.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v3 0/7] Remove unneeded build directory traversals |
| Date | 2017-03-15 22:20 +0100 |
| Message-ID | <tlouR-4Xh-3@gated-at.bofh.it> (permalink) |
| References | <tlolc-4TJ-3@gated-at.bofh.it> <tlolc-4TJ-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 03/15/2017 04:03 PM, Arnd Bergmann wrote: > On Wed, Mar 15, 2017 at 5:37 PM, Andrew F. Davis <afd@ti.com> wrote: >> 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. > > I didn't see anything wrong with the patches, and made sure that there > are no tristate symbols controlling the subdirectory for anything that > requires a built-in driver (which would cause a link failure). > > I'm not sure about drivers/lguest, which has some special magic > in its Makefile, it's possible that this now fails with CONFIG_LGUEST=m. > lguest and mmc are the strange ones, so I put them last in the series in case they did need to be dropped. lguest was supposed to have been taken from v1: https://lkml.org/lkml/2016/6/20/1086 but it looks like it didn't so I re-introduced it for v3. mmc caught some 0-day build warnings but I never got to the bottom of them. Anyway, I have no problem with these two being held back until the magic in their Makefile is sorted out. Thanks, Andrew > Arnd >
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [PATCH v3 0/7] Remove unneeded build directory traversals Arnd Bergmann <arnd@arndb.de> - 2017-03-15 22:10 +0100
Re: [PATCH v3 0/7] Remove unneeded build directory traversals "Andrew F. Davis" <afd@ti.com> - 2017-03-15 22:20 +0100
Re: [PATCH v3 0/7] Remove unneeded build directory traversals Arnd Bergmann <arnd@arndb.de> - 2017-03-15 22:40 +0100
csiph-web