Subject: Re: CVS commit: syssrc
To: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
From: Matt Thomas <matt@3am-software.com>
List: source-changes
Date: 06/15/2001 23:20:09
At 03:03 PM 6/16/2001 +0900, Izumi Tsutsui wrote:
>In atricle <20010612173742.C4C27B00B@cvs.netbsd.org>
>matt@netbsd.org wrote:
>
> > Module Name:  syssrc
> > Committed By: matt
> > Date:         Tue Jun 12 17:37:42 UTC 2001
> >
> > Modified Files:
> >       syssrc/sys/arch/cats/include: Makefile
> > Removed Files:
> >       syssrc/sys/arch/cats/include: ansi.h aout_machdep.h asm.h bswap.h
> >           cdefs.h cpu.h cpufunc.h cpus.h db_machdep.h disklabel.h
> >           disklabel_acorn.h elf_machdep.h endian_machdep.h float.h fp.h
> >           ieee.h ieeefp.h int_const.h int_fmtio.h int_limits.h
> >           int_mwgwtypes.h int_types.h ipkdb.h isa_machdep.h 
> isapnp_machdep.h
> >           limits.h lock.h math.h pio.h proc.h profile.h profileio.h pte.h
> >           ptrace.h reg.h setjmp.h signal.h stdarg.h trap.h undefined.h
> >           varargs.h
> >
> > Log Message:
> > Eliminate all files that are just #include <arm.foo.h>.  Update Makefile
> > to refer to cats, not netwinder.
>
>Why are these files removed? All mips, m68k, powerpc and sh3
>ports have such files, and some sources in sys/lib/libkern/arch/arm
>still refer <machine/asm.h>.

With arm, we trying a new technique.  The Makfile.arm will automagically
allow <machine/asm.h> to be picked up from <arm/asm.h> without having to
have a #include <arm/asm.h> in <port>/include.  And for user space,
usr/include/machine will be a symlink to arm, not the port.

While the current method for mips, etal works it has a number of problems.
Since we are a new architecture port, let's see if we can do it better.

The primary reason for this is so that a make build on *any* arm port will
produce the same results.
--
Matt Thomas               Internet:   matt@3am-software.com
3am Software Foundry      WWW URL:    http://www.3am-software.com/bio/matt/
Cupertino, CA             Disclaimer: I avow all knowledge of this message