Hi, Rusty Russell wrote: > 1) Rename build-initcalls to build-module-initcalls > 2) Generate explicit calls, which is clearer than an array. > 3) Simplify (and hopefully speed up) by calling $(NM) once for all files. > 4) Call initcalls from init/main.c rather then kernel/module.c > > There seems to be a problem in that .allbuiltin_mods doesn't include > stuff in net/ipv4/netfilter/.builtin_mods for example (set > CONFIG_NETFILTER=y, CONFIG_IP_NF_IPTABLES=y, everything else there to Y). Are you sure sent the right patch? This one misses a few changes. Anyway, I stole all the good ideas and integrated them into my patch. :) - I use a separate initcall for the module initialization, that's the only way I can solve my IDE problems. - I put the initcall for that directly into the generated file. - raid autodetect became a late_initcall() - I don't use trap to clean up, so people can send us the temporary files, if something should go wrong. These files will be removed by a normal 'make clean' anyway. bye, Roman