Michał Górny wrote:
> The arch/ tree starts with 'generic' subdirectories matching main
> arches -- like arm, mips, x86, sparc, powerpc, s390 (but not amd64).

I like this idea, but..


> Each of arch trees contains an 'abis' subtree that contains mix-ins

..please please call this 'abi' instead.


> For example, the expanded inherits for arch/x86/multilib/amd64 would
> go like:
> 
> 1. arch/base -- that disables a lot of uncommon stuff,
> 2. arch/x86/base [optionally] -- setting some generic defaults,

Fine so far.

> 3. arch/x86/abis/x86 -- setting support for 'x86' ABI,
> 4. arch/x86/abis/x86/lib32 [optionally] -- overriding LIBDIR_x86 for
> compatibility with current SYMLINK_LIB screwup,

This can't work; abi/x86 can't be both a file and a subdir.
Maybe call them abi/x86 and abi/x86_SYMLINK_LIB_compatibility ?
(Or x86_lib32, although that is a lot less descriptive.)


> 5. arch/x86/abis/amd64 -- setting support for 'amd64' ABI,
> 6. arch/x86/abis/amd64/default [optionally] -- setting 'amd64'
> as default ABI,

Same here with abi/amd64 being both file and subdir.


> 7. arch/x86/multilib/amd64 -- finishing multilib setup.

I think it looks good.


//Peter

Attachment: pgpW5IK6eGEDK.pgp
Description: PGP signature

Reply via email to