Makefile (26eae90e) Makefile (5a5a41c0)
1# $OpenBSD: Makefile,v 1.9 2015/10/05 04:38:27 miod Exp $
1# $OpenBSD: Makefile,v 1.10 2016/07/30 03:25:48 guenther Exp $
2
3MAN= xxboot.8
4
5.if ${MACHINE} == "landisk"
6PROG= xxboot
7SRCS= pbr.S xxboot.S boot1.c
2
3MAN= xxboot.8
4
5.if ${MACHINE} == "landisk"
6PROG= xxboot
7SRCS= pbr.S xxboot.S boot1.c
8LDFLAGS=-nostdlib -Ttext 0x8c201000 -N -x -Bstatic -e start -nopie
8LDFLAGS=-nostdlib -Ttext 0x8c201000 -N -x -Bstatic -e start -nopie -znorelro
9
10INSTALL_STRIP=
11
12XXBOOT_SECTORS?= 15
13XXBOOT_MAXSIZE?= (( ${XXBOOT_SECTORS} * 512 ))
14
15CPPFLAGS+=-D_STANDALONE
16CPPFLAGS+=-nostdinc -I${.OBJDIR} -I${.CURDIR}/.. -I${.CURDIR}/../../../..

--- 38 unchanged lines hidden ---
9
10INSTALL_STRIP=
11
12XXBOOT_SECTORS?= 15
13XXBOOT_MAXSIZE?= (( ${XXBOOT_SECTORS} * 512 ))
14
15CPPFLAGS+=-D_STANDALONE
16CPPFLAGS+=-nostdinc -I${.OBJDIR} -I${.CURDIR}/.. -I${.CURDIR}/../../../..

--- 38 unchanged lines hidden ---