Sorry, you are right. That was a brain fart.
> > Especially since you don't cover any of the really interesting cases.
> > Maybe if you could slowly extend it to cover the rest? (Hah, I
> > know!).
>
> I wouldn't mind if the remaining initcalls are converted to explicit
> dependencies, but it's possible to sort automatically everything that can
> be built as modules.
Yes, I think we should do this: merge the two together. You seem to
be in a coding frenzy: want to do the first cut?
I'll probably change my initdepends section format to make it shorter
and easier to parse. But that change should be independent.
> > > +init/generated-initcalls.c: .allinit.defs
> > > + set -e; echo '#include <linux/init.h>' > $@; \
> > > + sed -n < $< "s,^T ,,p" | sort > .defined.all; \
> >
> > I think you mean something like:
> >
> > sed -n "s,^T ,,p" < $<
>
> Isn't that the same?
Argh, not my day, clearly. Let's pretend I didn't send that mail,
shall we?
Cheers,
Rusty.
-- Anyone who quotes me in their sig is an idiot. -- Rusty Russell. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/