Misc fixes for cross-building amd64.
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 28 Mar 2009 03:28:41 +0000 (20:28 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 28 Mar 2009 03:28:41 +0000 (20:28 -0700)
commit982b050781596cd900cfcf054b124a6d3ea12ffc
treebb7c0608f16e84e759d76635a63336e3e8c39b45
parentf207c6e7d1a5b77d7c162c75708d3b0179e510b0
Misc fixes for cross-building amd64.

Use the proper IMAKEENV instead of CROSSENV when installing a 64 bit
kernel via installkernel.  IMAKEENV supplies the proper cross-building
path so objcopy works properly.

Remove the -mcmodel option from the compilation of genassym.c.  This
utility is compiled for the host OS, not the target.

Add MACHINE_ARCH, MACHINE, and MACHINE_PLATFORM to the module build
called from the kernel build.

Add -fno-omit-frame-pointer to kmod.mk for amd64 builds (from FreeBSD).
Makefile.inc1
sys/conf/kern.post.mk
sys/conf/kern.pre.mk
sys/conf/kmod.mk