aboutsummaryrefslogtreecommitdiff
path: root/sys/conf/Makefile.amd64
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2003-05-01 02:59:24 +0000
committerPeter Wemm <peter@FreeBSD.org>2003-05-01 02:59:24 +0000
commitb05deb9bc1ee3a42427a8fb4e8298f21953474bb (patch)
treee07156c6adb570438fed5028d091c3e5d257d5aa /sys/conf/Makefile.amd64
parent005197bb4069902afb1b9142d783247eb6aa107e (diff)
downloadsrc-b05deb9bc1ee3a42427a8fb4e8298f21953474bb.tar.gz
src-b05deb9bc1ee3a42427a8fb4e8298f21953474bb.zip
Sync up with the files in the hammer branch in the p4 tree to get basic
AMD64 support. There is still more to add.
Notes
Notes: svn path=/head/; revision=114370
Diffstat (limited to 'sys/conf/Makefile.amd64')
-rw-r--r--sys/conf/Makefile.amd6415
1 files changed, 14 insertions, 1 deletions
diff --git a/sys/conf/Makefile.amd64 b/sys/conf/Makefile.amd64
index 50775e17d1fc..c1dd8a85d27a 100644
--- a/sys/conf/Makefile.amd64
+++ b/sys/conf/Makefile.amd64
@@ -17,6 +17,19 @@
# after which config should be rerun for all machines.
#
+# The FSF cross tools don't understand -fformat-extensions
+CWARNFLAGS= -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes \
+ -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual \
+ -ffreestanding -Wno-format -Wno-sign-compare
+CC= x86_64-unknown-freebsd5.0-gcc -D__amd64__
+LD= x86_64-unknown-freebsd5.0-ld
+NM= x86_64-unknown-freebsd5.0-nm
+SIZE= x86_64-unknown-freebsd5.0-size
+OBJCOPY= x86_64-unknown-freebsd5.0-objcopy
+OBJDUMP= x86_64-unknown-freebsd5.0-objdump
+MACHINE_ARCH= amd64
+NO_CPU_COPTFLAGS= true # minimize cross compile pain
+
# Which version of config(8) is required.
%VERSREQ= 500012
@@ -31,7 +44,7 @@ S= ../../..
.endif
.include "$S/conf/kern.pre.mk"
-MKMODULESENV+= MACHINE=x86_64
+MKMODULESENV+= MACHINE=amd64
%BEFORE_DEPEND