| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile.amd64,v 1.35 2011/05/30 15:06:32 joerg Exp $ | | 1 | # $NetBSD: Makefile.amd64,v 1.36 2011/06/10 03:17:35 joerg Exp $ |
2 | | | 2 | |
3 | # Makefile for NetBSD | | 3 | # Makefile for NetBSD |
4 | # | | 4 | # |
5 | # This makefile is constructed from a machine description: | | 5 | # This makefile is constructed from a machine description: |
6 | # config machineid | | 6 | # config machineid |
7 | # Most changes should be made in the machine description | | 7 | # Most changes should be made in the machine description |
8 | # /sys/arch/amd64/conf/``machineid'' | | 8 | # /sys/arch/amd64/conf/``machineid'' |
9 | # after which you should do | | 9 | # after which you should do |
10 | # config machineid | | 10 | # config machineid |
11 | # Machine generic makefile changes should be made in | | 11 | # Machine generic makefile changes should be made in |
12 | # /sys/arch/amd64/conf/Makefile.amd64 | | 12 | # /sys/arch/amd64/conf/Makefile.amd64 |
13 | # after which config should be rerun for all machines of that type. | | 13 | # after which config should be rerun for all machines of that type. |
14 | # | | 14 | # |
| @@ -26,27 +26,27 @@ USE_SSP?= yes | | | @@ -26,27 +26,27 @@ USE_SSP?= yes |
26 | | | 26 | |
27 | ## | | 27 | ## |
28 | ## (1) port identification | | 28 | ## (1) port identification |
29 | ## | | 29 | ## |
30 | AMD64= $S/arch/amd64 | | 30 | AMD64= $S/arch/amd64 |
31 | GENASSYM_CONF= ${AMD64}/amd64/genassym.cf | | 31 | GENASSYM_CONF= ${AMD64}/amd64/genassym.cf |
32 | | | 32 | |
33 | ## | | 33 | ## |
34 | ## (2) compile settings | | 34 | ## (2) compile settings |
35 | ## | | 35 | ## |
36 | DEFCOPTS= -O2 | | 36 | DEFCOPTS= -O2 |
37 | CPPFLAGS+= -Damd64 -Dx86_64 | | 37 | CPPFLAGS+= -Damd64 -Dx86_64 |
38 | CFLAGS+= -mcmodel=kernel | | 38 | CFLAGS+= -mcmodel=kernel |
39 | CFLAGS+= -mno-red-zone | | 39 | CFLAGS+= -mno-red-zone -mno-sse -mno-sse2 -mno-sse3 |
40 | | | 40 | |
41 | ## | | 41 | ## |
42 | ## (3) libkern and compat | | 42 | ## (3) libkern and compat |
43 | ## | | 43 | ## |
44 | KERN_AS= obj | | 44 | KERN_AS= obj |
45 | | | 45 | |
46 | ## | | 46 | ## |
47 | ## (4) local objects, compile rules, and dependencies | | 47 | ## (4) local objects, compile rules, and dependencies |
48 | ## | | 48 | ## |
49 | MD_OBJS= locore.o vector.o copy.o spl.o | | 49 | MD_OBJS= locore.o vector.o copy.o spl.o |
50 | MD_CFILES= | | 50 | MD_CFILES= |
51 | MD_SFILES= ${AMD64}/amd64/locore.S ${AMD64}/amd64/vector.S \ | | 51 | MD_SFILES= ${AMD64}/amd64/locore.S ${AMD64}/amd64/vector.S \ |
52 | ${AMD64}/amd64/copy.S ${AMD64}/amd64/spl.S | | 52 | ${AMD64}/amd64/copy.S ${AMD64}/amd64/spl.S |