- Unhook usr.bin/uname from boot strap tools building, because it is not
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Tue, 26 Dec 2006 11:27:44 +0000 (11:27 +0000)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Tue, 26 Dec 2006 11:27:44 +0000 (11:27 +0000)
commit08efc527139fc04bbb62f18ec3363e83bd1e8532
treea8e2fa07b0995448a1135869b9200904a844d542
parenta0a36cfdb2cb0d361f8187c891cf64a33bfd15de
- Unhook usr.bin/uname from boot strap tools building, because it is not
  used as boot strap tool at all.
- Add hw.machin_uname, which is "i386" on pc32(machine)/i386(cpu).  It is
  used by uname(1) -m option and uname(3), since most third party application
  understand "i386" much better than "pc32".  In uname(3), fallback to
  hw.machine, if hw.machine_uname does not exist, so we can stay compatible
  with old kernel which does not have hw.machine_uname.

Implementation-suggestions-from: dillon@
Approved-by: dillon@
Makefile.inc1
lib/libc/gen/uname.c
sys/cpu/i386/include/param.h
sys/kern/kern_mib.c
sys/sys/sysctl.h
usr.bin/uname/uname.c