summaryrefslogtreecommitdiff
path: root/distrib/special/mkuboot/Makefile
blob: 40c0901ab077ac1b4ed831388274fd2bbe47500c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#	$OpenBSD: Makefile,v 1.1 2014/02/12 21:39:34 miod Exp $

.PATH: ${.CURDIR}/../../../usr.sbin/mkuboot

.if ${MACHINE} == "armv7"

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

.else

NOPROG=yes

.endif

.include <bsd.prog.mk>