From 51a2fa51df13fd438d037beabe5a6444d52f7b68 Mon Sep 17 00:00:00 2001 From: krw Date: Sun, 14 Aug 2016 13:47:52 +0000 Subject: [PATCH] Merge identical amd64 and i386 stanzas. Requested & ok jsing@ --- usr.sbin/installboot/Makefile | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/usr.sbin/installboot/Makefile b/usr.sbin/installboot/Makefile index f699cc5133a..1362c36c36f 100644 --- a/usr.sbin/installboot/Makefile +++ b/usr.sbin/installboot/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.18 2016/07/20 19:56:24 krw Exp $ +# $OpenBSD: Makefile,v 1.19 2016/08/14 13:47:52 krw Exp $ PROG= installboot SRCS= installboot.c util.c @@ -10,7 +10,7 @@ DPADD= ${LIBUTIL} LDSTATIC= ${STATIC} -.if ${MACHINE} == "amd64" +.if ${MACHINE} == "amd64" || ${MACHINE} == "i386" CFLAGS += -DSOFTRAID SRCS += i386_installboot.c SRCS += i386_nlist.c @@ -20,11 +20,6 @@ SRCS += armv7_installboot.c .elif ${MACHINE} == "hppa" CFLAGS += -DBOOTSTRAP SRCS += hppa_installboot.c -.elif ${MACHINE} == "i386" -CFLAGS += -DSOFTRAID -SRCS += i386_installboot.c -SRCS += i386_nlist.c -SRCS += i386_softraid.c .elif ${MACHINE} == "landisk" CFLAGS += -DBOOTSTRAP SRCS += landisk_installboot.c -- 2.20.1