diff options
author | 2013-01-18 11:35:24 +0000 | |
---|---|---|
committer | 2013-01-18 11:35:24 +0000 | |
commit | 5724cc0ce4de05b5ec6244d27a56c0f2a9d00077 (patch) | |
tree | a2549ff8819c56a945f955132362d0a32bb10a92 | |
parent | Document $OpenBSD$ and teach ci's -k option to parse it too (diff) | |
download | wireguard-openbsd-5724cc0ce4de05b5ec6244d27a56c0f2a9d00077.tar.xz wireguard-openbsd-5724cc0ce4de05b5ec6244d27a56c0f2a9d00077.zip |
Fix the makefile so it works on other architectures.
Found the hard way by bluhm@
-rw-r--r-- | sys/arch/amd64/stand/boot/Makefile | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/arch/amd64/stand/boot/Makefile b/sys/arch/amd64/stand/boot/Makefile index 4e6bd6755f6..59154dd8cfc 100644 --- a/sys/arch/amd64/stand/boot/Makefile +++ b/sys/arch/amd64/stand/boot/Makefile @@ -1,18 +1,18 @@ -# $OpenBSD: Makefile,v 1.19 2013/01/17 12:37:44 jsing Exp $ +# $OpenBSD: Makefile,v 1.20 2013/01/18 11:35:24 jsing Exp $ MAN?= boot.8 MLINKS?=boot.8 boot.conf.5 -.if ${MACHINE} == "amd64" -S= ${.CURDIR}/../../../.. -SADIR= ${.CURDIR}/.. - .if !empty(CFLAGS:M-DFDBOOT) -SOFTRAID=no +SOFTRAID?=no .else -SOFTRAID=yes +SOFTRAID?=yes .endif +.if ${MACHINE} == "amd64" +S= ${.CURDIR}/../../../.. +SADIR= ${.CURDIR}/.. + PROG?= boot SRCS= srt0.S conf.c LD?= ld |