build - Fix handling of MACHINE_PLATFORM
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 31 Oct 2012 02:35:36 +0000 (19:35 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 31 Oct 2012 02:35:36 +0000 (19:35 -0700)
commit8e834fc87122f42c41608dbf6c7ed157d67b4051
treee893c6defdf067f36da212a5d0e869b735033dcf
parent6eb83deb5d1907d991a357ce71ca0c27a697bcb9
build - Fix handling of MACHINE_PLATFORM

* Generate MACHINE_PLATFORM from sysctl -n hw.platform, bmake does not
  generate a default for this (it's DragonFly-specific).

* Fixes manual module builds e.g. building from the source dir instead of
  as part of a kernel build.
share/mk/sys.mk