mk: Add FORCE_CPUTYPE which overrides user's CPUTYPE or forcefully sets CPUTYPE
[dragonfly.git] / sys / boot / pc32 / Makefile.inc
1 # Common defines for all of /sys/boot/i386/
2
3 .if !target(__pc32__)
4 __pc32__:
5
6 LOADER_ADDRESS?=        0x200000
7 CFLAGS+=                -ffreestanding -mpreferred-stack-boundary=2
8
9 # override CPU type, so that gcc doesn't insert mmx/sse instructions
10 FORCE_CPUTYPE=          i386
11
12 WARNS?= 1
13
14 .if defined(REALLY_X86_64)
15 .include "../pc64/Makefile.inc"
16 .endif
17 .endif