Re: [RFC] [PATCH] new modversions implementation

Kai Germaschewski (kai-germaschewski@uiowa.edu)
Sat, 25 Jan 2003 20:31:27 -0600 (CST)


On Sat, 25 Jan 2003, Sam Ravnborg wrote:

> On Sat, Jan 25, 2003 at 10:56:37PM +0100, Sam Ravnborg wrote:
> > +
> > +# Don't rebuilt vermagic.o unless we actually are in the init/ dir
> > +ifneq ($(obj),init)
> > +init/vermagic.o: ;
> > +endif
> >
> > The above magic does not look safe to me when utilising parrallel builds.
> > At least init/vermagic.o needs to be in the prepare: rule.
>
> Checked, it is in the prepare: rule, but it looks ugly anyway.
> Does it really need to be a prerequisite?

Yes, because we need to rebuild the module when vermagic.o changed,
otherwise we'd end up with stale information in modules.

--Kai

-
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/