[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] [PATCH] Machine dependent module path extension



On Tue, 2013-02-12 at 14:23 +0100, Miro Kropáček wrote:


>         a generic CPU. You should use "bee" or something for the
>         FireBee.
> As soon as the kernel filename will be "mintbee.prg", I'll do that.
> Now it would be even *more* confusing.

Ok, I see from the actual patch that the machinename is hardcoded at
compile-time. So unless the kernel is specifically built for a certain
machine, the usability of this feature is limited. E.g. you'll use the
same kernel for the Falcon, TT and Pak030, but not the same drivers
(different serial ports, different ethernet cards etc). In this case
you'll need different machine subdirectories with the same kernel
depending on which machine you're using.

Maybe the type of machine should be detected at run-time and not
compile-time.

Jo Even