1
0
mirror of https://github.com/openbsd/src.git synced 2025-01-10 06:47:55 -08:00

Reachover makefile for mkuboot, found on armv7 ramdisks; nick@

This commit is contained in:
miod 2014-02-12 21:39:34 +00:00
parent 54fcbcd5df
commit f8a282d473

View File

@ -0,0 +1,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>