On Wed, Jul 27, 2016 at 06:27:51PM +0530, Vinod Koul wrote: > On Wed, Jul 27, 2016 at 09:53:24AM +0200, Arnd Bergmann wrote: > > We should be at the point where an 'allmodconfig' build on ARM > > gets you most of the drivers and builds without warnings (using > > gcc-4.9 or higher). > The problem is drivers depend on various ARM sub arch's. That is the > sole reason why I have multiple configs now. That shouldn't be the case at least for any new code, things should at least build OK with an || COMPILE_TEST normally. Old code may need fixing up for this. > Which brings me to another problem :-) why should individual drivers > depend on ARM sub arch's. Depends on ARM, yes. First look at code tells > me they shouldn't!, probably sometime back that was true, but I don't > think that should be the case now, ofcourse you would know better! The dependencies are there to improve UX when people are configuring their kernels - it stops them being asked about hardware they can't possibly have in their system. If there's no build time reason for it then it should be (ARCH_FOO || COMPILE_TEST) so people can do build tests.