summaryrefslogtreecommitdiff
path: root/usr.sbin/mkuboot/Makefile
blob: c4301d17eb86b736e747d3c5814c1b2b449d76e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#	$OpenBSD: Makefile,v 1.4 2017/01/30 06:46:13 jsg Exp $

.if ${MACHINE} == "arm64" || ${MACHINE} == "armv7

PROG=	mkuboot
SRCS=	mkuboot.c copy_elf32.c copy_elf64.c
DPADD=	${LIBZ}
LDADD=	-lz
CFLAGS=	-DMACHINE_ARCH=\"${MACHINE_ARCH}\"

.else

NOPROG=yes

.endif

MAN=	mkuboot.8

.include <bsd.prog.mk>