diff options
Diffstat (limited to 'sys/arch/amd64/stand/biosboot')
-rw-r--r-- | sys/arch/amd64/stand/biosboot/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/sys/arch/amd64/stand/biosboot/Makefile b/sys/arch/amd64/stand/biosboot/Makefile index 6c88c12e65d..069526e3e7d 100644 --- a/sys/arch/amd64/stand/biosboot/Makefile +++ b/sys/arch/amd64/stand/biosboot/Makefile @@ -1,19 +1,21 @@ -# $OpenBSD: Makefile,v 1.6 2012/09/25 09:01:03 pascal Exp $ +# $OpenBSD: Makefile,v 1.7 2013/01/17 12:25:11 jsing Exp $ MAN= biosboot.8 .if ${MACHINE} == "amd64" +S= ${.CURDIR}/../../../.. +SADIR= ${.CURDIR}/.. + PROG= biosboot SRCS= biosboot.S LD=ld LDFLAGS=-nostdlib -Ttext 0 -N -x -Bstatic -nopie LDFLAGS+=-melf_i386 -L/usr/libdata INSTALL_STRIP= -SADIR= ${.CURDIR}/.. -${PROG}: $(OBJS) $(DPADD) +${PROG}: $(OBJS) @rm -f $(PROG) - $(LD) $(LDFLAGS) -o $(PROG) $(OBJS) $(LDADD) + $(LD) $(LDFLAGS) -o $(PROG) $(OBJS) @size $(PROG) CPPFLAGS+=-DLOADADDR=$(LOADADDR) -DLINKADDR=$(LINKADDR) -DBOOTMAGIC=$(BOOTMAGIC) @@ -26,4 +28,3 @@ NOPROG= .endif .include <bsd.prog.mk> - |