DragonFly BSD
DragonFly commits List (threaded) for 2006-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src Makefile.inc1 src/etc/mtree BSD.include.dist src/include Makefile src/share/mk sys.mk src/test/sysperf syscall1.c src/usr.bin/doscmd register.h src/usr.bin/make main.c src/usr.sbin/config config.h config.y configvers.h lang.l main.c ...


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 6 Nov 2006 22:57:03 -0800 (PST)

dillon      2006/11/06 22:57:03 PST

DragonFly src repository

  Modified files:
    .                    Makefile.inc1 
    etc/mtree            BSD.include.dist 
    include              Makefile 
    share/mk             sys.mk 
    test/sysperf         syscall1.c 
    usr.bin/doscmd       register.h 
    usr.bin/make         main.c 
    usr.sbin/config      config.h config.y configvers.h lang.l 
                         main.c mkmakefile.c mkoptions.c 
  Log:
  Major kernel build infrastructure changes, part 2/2 (user).
  
  These changes are primarily designed to create a 2-layer machine and cpu
  build hierarchy in order to support virtual kernel builds in the near term
  and future porting efforts in the long term.
  
  * The make program now pulls MACHINE, MACHINE_ARCH, and MACHINE_CPU from
    the kernel hw.machine, hw.machine_arch, and hw.machine_cpu sysctl
    variables, unless overridden by environment variables.
  
  * The config program now generates additional softlinks in the kernel build
    directory:
  
    machine	points to the platform architecture header files
    machine_base	points to the baes of the platform architecture directory.
    cpu		points to the cpu architecture header files
    cpu_base	points to the base of the cpu architecture directory
  
    Additionally, the config program generates forwarding header files as
    includes/machine/*.h.  Any cpu architecture header files that are not
    overridden by the platform architecture are generated in this directory.
  
    The kernel build's Makefile adjusts the -I paths to effectively merge
    machine/ and includes/machine/, presenting a uniform <machine/*.h>
    include file architecture to the kernel build.
  
    The kernel build's Makefile now automatically exports MACHINE and
    MACHINE_ARCH as environment variables.
  
    The kernel build's Makefile now makes opt_*, use_*, and IF header files
    directly available to the module build subsystem so the module build
    subsystem does not have to generate them in each module subdirectory.
  
  * Kernel configuration files now require both a 'machine' and a 'machine_arch'
    directive.  Typically:
  
    machine	pc32		(subject to change)
    machine_arch	i386
  
  * /usr/include/cpu has been added to augment /usr/include/machine.  The
    buildworld infrastructure also automatically merges any <cpu/*.h> header
    files that were not overridden by the <machine/*.h> header files into
    /usr/include/machine.
  
    Note that direct access to /usr/include/cpu is not recommended.
  
  * A number of weird cases that generate extranious 'machine' softlinks
    (for <machine/*.h> header access) have been removed.
  
  * The MACHINE_ARCH default to i386 has been removed.  If the make program
    does not define the MACHINE_ environment and sys.mk is included, sys.mk
    will now fail with an error.
  
  * cpdup has been added to the bootstrap tools.
  
  Revision  Changes    Path
  1.91      +6 -3      src/Makefile.inc1
  1.22      +2 -0      src/etc/mtree/BSD.include.dist
  1.31      +29 -9     src/include/Makefile
  1.16      +15 -6     src/share/mk/sys.mk
  1.2       +3 -2      src/test/sysperf/syscall1.c
  1.5       +1 -1      src/usr.bin/doscmd/register.h
  1.145     +37 -23    src/usr.bin/make/main.c
  1.8       +2 -2      src/usr.sbin/config/config.h
  1.13      +7 -7      src/usr.sbin/config/config.y
  1.8       +1 -1      src/usr.sbin/config/configvers.h
  1.12      +2 -2      src/usr.sbin/config/lang.l
  1.19      +111 -33   src/usr.sbin/config/main.c
  1.17      +8 -4      src/usr.sbin/config/mkmakefile.c
  1.18      +5 -3      src/usr.sbin/config/mkoptions.c


http://www.dragonflybsd.org/cvsweb/src/Makefile.inc1.diff?r1=1.90&r2=1.91&f=u
http://www.dragonflybsd.org/cvsweb/src/etc/mtree/BSD.include.dist.diff?r1=1.21&r2=1.22&f=u
http://www.dragonflybsd.org/cvsweb/src/include/Makefile.diff?r1=1.30&r2=1.31&f=u
http://www.dragonflybsd.org/cvsweb/src/share/mk/sys.mk.diff?r1=1.15&r2=1.16&f=u
http://www.dragonflybsd.org/cvsweb/src/test/sysperf/syscall1.c.diff?r1=1.1&r2=1.2&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/doscmd/register.h.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/make/main.c.diff?r1=1.144&r2=1.145&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.sbin/config/config.h.diff?r1=1.7&r2=1.8&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.sbin/config/config.y.diff?r1=1.12&r2=1.13&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.sbin/config/configvers.h.diff?r1=1.7&r2=1.8&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.sbin/config/lang.l.diff?r1=1.11&r2=1.12&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.sbin/config/main.c.diff?r1=1.18&r2=1.19&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.sbin/config/mkmakefile.c.diff?r1=1.16&r2=1.17&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.sbin/config/mkoptions.c.diff?r1=1.17&r2=1.18&f=u



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