cvs commit: src Makefile.inc1 src/etc/mtree BSD.include.dist src/include Makefile src/share/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 ...

Matthew Dillon dillon at
Mon Nov 6 23:00:04 PST 2006

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

DragonFly src repository

  Modified files:
    .                    Makefile.inc1 
    etc/mtree            BSD.include.dist 
    include              Makefile 
    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 
  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
    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
    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 is included,
    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/
  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

More information about the Commits mailing list