summaryrefslogtreecommitdiffstats
path: root/sys/boot/i386/libi386/crt/bootsect/Makefile
blob: 1c04705b7935ebb2034efa7708ab0fa7422dd3a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#
# Build a startup module
#

# Disk buffer size in sectors
CFLAGS+= -DDISKBUFSIZE=18
# Stack size in bytes
CFLAGS+= -DSTACKSIZE=0x1000

PROG=		bscrt.o
LDFLAGS=	-static -nostartfiles -nostdlib -Xlinker -r
NOMAN=		yes

# Bootblock-specific sources
SRCS=		start_bootsect.S fraglist.S bootsectmain.c 

# Includes for libsa support routines XXX fix path!
CFLAGS+=	-I${.CURDIR}/../../../../../whole/lib/libstand

# Common items across all startups
.PATH:		${.CURDIR}/..
CFLAGS+=	-I${.CURDIR}/..
SRCS+=		biosdisk_ll.c bios_disk.S buffers.S

.include <bsd.prog.mk>
OpenPOWER on IntegriCloud