Rename /usr/src/sys/machine to /usr/src/sys/platform. Give the platform
authorMatthew Dillon <dillon@dragonflybsd.org>
Fri, 19 Jan 2007 07:23:43 +0000 (07:23 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Fri, 19 Jan 2007 07:23:43 +0000 (07:23 +0000)
commit0955fd91fad9eb456f9cbab676b66e185bd4422a
tree5a4bbddbff0b574c5f18787b58b93fb1d31cdcd0
parent5c454bc1403db76c51001ef7854b344d54614a4e
Rename /usr/src/sys/machine to /usr/src/sys/platform.  Give the platform
name its own variable, MACHINE_PLATFORM, instead of trying to use MACHINE
to name it.  Adjust the build infrastructure to match.

Revert MACHINE back to its original definition and remove uname shims.
This removes confusion with third party software.

This means a pc32 build has MACHINE=i386 and MACHINE_ARCH=i386, and a
vkernel build also has MACHINE=i386 and MACHINE_ARCH=i386.  The new
MACHINE_PLAFORM would be pc32 for a pc32 build, and vkernel for a vkernel
build.

Adjust all kernel configuration files to specify platform, machine, AND
machine_arch.
44 files changed:
Makefile.inc1
include/Makefile
lib/libc/gen/uname.c
share/mk/sys.mk
sys/boot/i386/libi386/Makefile
sys/boot/i386/libi386/biosacpi.c
sys/boot/ia64/libski/acpi_stub.c
sys/conf/acpi.mk
sys/conf/bsd.kern.mk
sys/conf/kern.post.mk
sys/conf/kern.pre.mk
sys/conf/kmod.mk
sys/conf/options
sys/config/GENERIC
sys/config/LINT
sys/config/TINDERBOX
sys/config/VKERNEL
sys/cpu/i386/include/param.h
sys/dev/Makefile
sys/dev/acpica5/Makefile
sys/dev/est/Makefile
sys/dev/misc/syscons/Makefile
sys/kern/Makefile
sys/kern/Makefile.misc
sys/kern/kern_mib.c
sys/platform/pc32/conf/Makefile
sys/platform/pc32/conf/files
sys/platform/pc32/include/param.h
sys/platform/vkernel/conf/Makefile
sys/platform/vkernel/conf/files
sys/platform/vkernel/i386/vm_machdep.c
sys/platform/vkernel/include/param.h [new file with mode: 0644]
sys/sys/sysctl.h
usr.bin/make/main.c
usr.bin/make/make.1
usr.bin/uname/uname.c
usr.sbin/Makefile
usr.sbin/config/config.h
usr.sbin/config/config.y
usr.sbin/config/configvers.h
usr.sbin/config/lang.l
usr.sbin/config/main.c
usr.sbin/config/mkmakefile.c
usr.sbin/config/mkoptions.c