Deleted Added
full compact
Makefile (80751) Makefile (96306)
1# $FreeBSD: head/sys/boot/i386/boot2/Makefile 80751 2001-07-31 19:50:09Z jhb $
1# $FreeBSD: head/sys/boot/i386/boot2/Makefile 96306 2002-05-10 00:53:45Z obrien $
2
3PROG= boot2
4NOMAN=
5STRIP=
6BINDIR?= /boot
7BINMODE= 444
8CLEANFILES+= boot1 boot1.out boot1.o \
9 boot2.ldr boot2.bin boot2.ld boot2.out boot2.o boot2.h \

--- 12 unchanged lines hidden (view full) ---

22BTX= ${.OBJDIR}/../btx
23.else
24BTX= ${.CURDIR}/../btx
25.endif
26
27ORG1= 0x7c00
28ORG2= 0x1000
29
2
3PROG= boot2
4NOMAN=
5STRIP=
6BINDIR?= /boot
7BINMODE= 444
8CLEANFILES+= boot1 boot1.out boot1.o \
9 boot2.ldr boot2.bin boot2.ld boot2.out boot2.o boot2.h \

--- 12 unchanged lines hidden (view full) ---

22BTX= ${.OBJDIR}/../btx
23.else
24BTX= ${.CURDIR}/../btx
25.endif
26
27ORG1= 0x7c00
28ORG2= 0x1000
29
30CFLAGS= -elf -I${.CURDIR}/../btx/lib -I. \
31 -Os -fno-builtin -fforce-addr -fdata-sections \
32 -malign-functions=0 -malign-jumps=0 -malign-loops=0 -mrtd \
33 -mpreferred-stack-boundary=2 \
30CFLAGS= -elf -ffreestanding -Os -fno-builtin -fforce-addr -fdata-sections \
31 -fno-align-functions -fno-align-jumps -fno-align-loops -fno-align-labels \
32 -mrtd -mpreferred-stack-boundary=2 \
33 -I${.CURDIR}/../btx/lib -I. \
34 -Wall -Waggregate-return -Wbad-function-cast -Wcast-align \
35 -Wmissing-declarations -Wmissing-prototypes -Wnested-externs \
36 -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings
37
38LDFLAGS=-nostdlib -static -N
39
40all: boot1 boot2
41

--- 46 unchanged lines hidden ---
34 -Wall -Waggregate-return -Wbad-function-cast -Wcast-align \
35 -Wmissing-declarations -Wmissing-prototypes -Wnested-externs \
36 -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings
37
38LDFLAGS=-nostdlib -static -N
39
40all: boot1 boot2
41

--- 46 unchanged lines hidden ---