On 16/05/13 16:11, Artem Bityutskiy wrote: > On Thu, 2013-05-16 at 18:25 +0530, Viresh Kumar wrote: >> On 16 May 2013 17:27, Artem Bityutskiy wrote: >>> On Thu, 2013-05-16 at 13:15 +0200, Wolfram Sang wrote: >>>> Despite various architectures and platform dependencies, I managed to >>>> compile >>>> test 45 out of 57 modified files locally using heuristics and >>>> defconfigs. >>>> If somebody knows how to create a minimal .config with a certain >>>> kconfig symbol >>>> (and its dependencies) set, I'd love to hear about it. >>> >>> If you find this out, please, share! >> >> Are you guys looking for "make savedefconfig" ?? > > No. It is more like: > > I have changed this strange driver. > > I want to compile-test my changes. > > I need a defconfig which would have this driver enabled. I also want to > know for my "make ARCH=" command. Not quite the same thing, but I sent this a while ago: http://lkml.indiana.edu/hypermail/linux/kernel/1304.3/02847.html My "softdepends" feature is probably not needed, as pointed out in the thread, as the behavior can be implemented with the current Kconfig language just fine. I had a quick look at fbdev drivers, and some of them compile fine on all (well, arm and x86) archs. But many do have real arch dependencies. I think it'd be a good long term goal to make drivers arch-independent, and add CONFIG_SHOW_ALL_DRIVERS or such, which would allow compiling drivers that are not used on your arch, but still compile fine. Tomi