On Mon, Oct 07, 2002 at 08:39:46PM -0500, Kai Germaschewski wrote:
> > How now can I build the oprofile.o target from two directories ?
>
> I see in the patch you mailed later that you got it figured out already,
> using a relative path.
> And yeah, it's not particularly beautiful. But I do not see any nice and
> easy way, either.
OK. If you say that the vpath support is troublesome, I will believe
you :)
> What would help a lot, of course, would be to split this
> into two modules, one generic one, one arch-specific one. Have you
> considered doing that?
I think I said to you before that implementing a runtime solution to a
build time problem is a little bizarre IMHO. I would *much* rather have
4 lines of slightly icky Makefile than complicate *any* runtime code.
I suppose it would not be much more complicated than a request_module()
inside oprofile_init(), but it's still more code for next-to-zero
benefit ...
regards
john
-- "I will eat a rubber tire to the music of The Flight of the Bumblebee" - 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/
This archive was generated by hypermail 2b29 : Mon Oct 07 2002 - 22:01:03 EST