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

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



Looks good.

I'll commit this to 1.19.

Alan.

On 02/12/13 05:23, Miro Kropáček wrote:
I've extended the previous patch -- now it's possible to read machine dependent configuration files, too. I.e. first we try <sysdir>/<mch>/mint.cnf; if it does not exist, we read <sysdir>/mint.cnf else we don't. In this way is possible to have for example u:/c/mint/common.cnf and to include with from u:/c/mint/1-19-cur/ara/mint.cnf where you have your aranym-specific symlinks, exec's etc. Works wonderfully for me!

On Sun, Feb 10, 2013 at 10:54 PM, Miro Kropáček <miro.kropacek@gmail.com <mailto:miro.kropacek@gmail.com>> wrote:

    Wow, it was actually pretty easy.

    How does the mapping work?

    Milan -> sysdir/mil
    Aranym -> sysdir/ara
    FireBee -> sysdir/v4e
    Generic 68000 -> sysdir/000
    Generic 68030 -> sysdir/030
    Generic 68040 -> sysdir/040
    Generic 68060 -> sysdir/060

    Priorities are in that order, too, i.e. Milan kernel does not look
    for '040' but for 'mil' instead. This allows nice fine tuning,
    i.e. your AfterBurner040 machine would load different drivers than
    Aranym.

    It works even with XIFs, i.e. you can have inet4.xdd in sysdir and
    nfeth.xif in sysdir/ara.

    ---
    Add support for machine-dependent directories inside sysdir when
    loading XDD/XFS/XIF modules.
    Contributed by Miro Kropacek
    ---

-- MiKRO / Mystic Bytes
    http://mikro.atari.org




--
MiKRO / Mystic Bytes
http://mikro.atari.org